LevitAsyncState<T> class
A specialized LevitState for asynchronous initialization.
- Inheritance
-
- Object
- LevitState<
Future< T> > - LevitAsyncState
- Available extensions
Constructors
-
LevitAsyncState(Future<
T> builder(LevitRef ref))
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
-
createComputed(
LevitRef ref, String ownerPath) → LxAsyncComputed< T> -
Creates its scope-local LxReactive instance.
override
-
deleteIn(
LevitScope scope, {String? tag, bool force = false}) → bool -
Internal helper to delete this state from a specific
scope.inherited -
findAsync(
{String? tag}) → Future< T> -
Available on LevitAsyncState<
Asynchronously resolves the value of this provider, flattening the Future.T> , provided by the LevitAsyncStateExtension extension -
findAsyncIn(
LevitScope scope, {String? tag}) → Future< Future< T> > -
Internal helper to resolve this state asynchronously within a specific
scope.inherited -
findIn(
LevitScope scope, {String? tag}) → Future< T> -
Internal helper to resolve this state within a specific
scope.inherited -
getComputedValue(
LxReactive computed) → Future< T> -
Extracts the current value from the
computedinstance.override -
isInstantiatedIn(
LevitScope scope, {String? tag}) → bool -
Internal helper to check if this state is instantiated in a specific
scope.inherited -
isRegisteredIn(
LevitScope scope, {String? tag}) → bool -
Internal helper to check if this state is registered in a specific
scope.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited