getUseStateScene<P> method
Retrieves a previously created UseStateScene object. _object is the object that was created with the key. _object is immutable
Implementation
UseStateScene<P>? getUseStateScene<P>(String key) {
if (_useStateScenes.containsKey(key) && _useStateScenes[key]?.object is P) {
return _useStateScenes[key] as UseStateScene<P>;
}
return null;
}