getComponentSpecs method

ComponentSpec? getComponentSpecs(
  1. String name
)

Implementation

ComponentSpec? getComponentSpecs(String name) {
  for (var componentSpec in _allComponentSpecs.values) {
    for (var entry in componentSpec) {
      if (entry.name == name) return entry;
    }
  }
  return null;
}