get static method

Get a component definition by type.

Implementation

static ComponentDefinition? get(ComponentType type) => _components[type];