AsyncStateContainer<T> class

Inheritance

Constructors

AsyncStateContainer()

Properties

hashCode int
The hash code for this object.
no setterinherited
initialState Async<T>
no setteroverride
mutationResolvers → Context<Type, MutationResolver<dynamic, Mutation, dynamic>>
finalinherited
queryResolvers → Context<Type, QueryResolver>
finalinherited
resolverController → AsyncResolverController<T>
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state Async<T>
getter/setter pairinherited
stateNotifier ValueNotifier<Async<T>>
latefinalinherited
stateType Type
no setterinherited

Methods

init(StateContainerContext context) Stream<Async<T>>
override
load() Future<Async<T>>
mutation<K extends Mutation>(AsyncResolverCallback<FutureOr<void>, T, K> callback) → void
override
mutations(StateContainerContext context) → dynamic
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queries(StateContainerContext context) → dynamic
inherited
query<K>(ResolverCallback<K, Async<T>, Object?> callback) → void
inherited
shutDown() → dynamic
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited