registerKey method
Implementation
@mustCallSuper
@internal
void registerKey(ComponentKey key, Component component) {
assert(!_index.containsKey(key), 'Key $key is already registered');
_index[key] = component;
}
@mustCallSuper
@internal
void registerKey(ComponentKey key, Component component) {
assert(!_index.containsKey(key), 'Key $key is already registered');
_index[key] = component;
}