AsyncSnapshot<T> class
abstract
An immutable representation of the most recent interaction with an asynchronous computation.
- Implementers
- Annotations
-
- @immutable
Constructors
- AsyncSnapshot()
-
const
Properties
- data → T?
-
no setter
- error → Object?
-
The latest error object received by the asynchronous computation.
no setter
- hasData → bool
-
Returns whether this snapshot contains a non-null data value.
no setter
- hasError → bool
-
Returns whether this snapshot contains a non-null error value.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLoading → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
The latest stack trace object received by the asynchronous computation.
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited