StateContainer<T> class
abstract
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialState → T
-
no setter
-
mutationResolvers
→ Context<
Type, MutationResolver< dynamic, Mutation, dynamic> > -
final
-
queryResolvers
→ Context<
Type, QueryResolver> -
final
-
resolverController
→ ResolverController<
T> -
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state ↔ T
-
getter/setter pair
-
stateNotifier
→ ValueNotifier<
T> -
latefinal
- stateType → Type
-
no setter
Methods
-
init(
StateContainerContext context) → Stream< T> -
mutation<
K extends Mutation> (ResolverCallback< FutureOr< callback) → voidvoid> , T, K> -
mutations(
StateContainerContext context) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
queries(
StateContainerContext context) → dynamic -
query<
K> (ResolverCallback< K, T, Object?> callback) → void -
shutDown(
) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
of<
T> (BuildContext context) → StateContainer< T>