Ref<State> class

Ref: Provider実行/ミューテーション実行の文脈(公開API)

Properties

container ProviderContainer
no setter
hashCode int
The hash code for this object.
no setterinherited
isCancelled bool
no setter
mounted bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state ↔ State
getter/setter pair

Methods

cache<T>(Object key) → T?
cacheSet<T>(Object key, T value) → void
checkCancelled() → void
emit<T>(Stream<T> stream) → void
invalidate<S>(ProviderBase<S> provider, {bool keepPrevious = true}) → void
invoke<R, S>(Call<R, S> call) Future<R>
keepAlive() KeepAliveLink
listen<S>(ProviderBase<S> provider, void onData(S? previous, S next), {bool fireImmediately = false}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDispose(void cb()) → void
read<S>(ProviderBase<S> provider) → S
refresh<T>(Provider<T> provider) → T
refreshValue<T>(AsyncProvider<T> provider, {bool keepPrevious = true}) Future<T>
scope<T>(Scope<T> s) → T
toString() String
A string representation of this object.
inherited
watch<S>(ProviderBase<S> provider) → S

Operators

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