StoreRegistry class
Store registry for managing global stores
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createStore<
T> (String id, T initialState) → Store< T> - Create and register a store in one step
-
getStore<
T> (String id) → Store< T> ? - Get a store by ID
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerStore<
T> (String id, Store< T> store) → void - Register a store with a unique ID
-
removeStore(
String id) → void - Remove a store
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → StoreRegistry
-
Singleton instance
final