findByKey<T extends Component> method

T? findByKey<T extends Component>(
  1. ComponentKey key
)
inherited

Implementation

T? findByKey<T extends Component>(ComponentKey key) {
  final component = _index[key];
  return component as T?;
}