AsyncValue<T> class sealed

Implementers

Constructors

AsyncValue.data(T value)
const
factory
AsyncValue.error(Object error, StackTrace stackTrace)
const
factory
AsyncValue.loading({T? previous})
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
valueOrNull → T?
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<R>({required R loading(), required R data(T data), required R error(Object error, StackTrace stackTrace)}) → R

Operators

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