ComponentType.getTypeFor constructor

ComponentType.getTypeFor(
  1. Type typeOfComponent
)

Returns the ComponentType for the runtimeType of a Component.

Implementation

factory ComponentType.getTypeFor(Type typeOfComponent) =>
    _componentTypes.putIfAbsent(typeOfComponent, ComponentType.new);