isUsed method

bool isUsed(
  1. String componentName
)

Check if a component has been used.

Implementation

bool isUsed(String componentName) => _usedComponents.contains(componentName);