Register state in this scope
void registerState<T>(String key, Rx<T> state) { if (_disposed) { throw StateError('Cannot register state in disposed scope "$id"'); } _state[key] = state; }