AsyncStateData<T extends Object> class
- Inheritance
-
- Object
- AsyncState<
T> - AsyncStateData
Constructors
- AsyncStateData(T _value)
-
const
Properties
- error → Object?
-
no setteroverride
- hasError → bool
-
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasValue → bool
-
no setteroverride
- isInitial → bool
-
no setteroverride
- isLoading → bool
-
no setteroverride
-
props
→ List<
Object> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
no setteroverride
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - value → T?
-
no setteroverride
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 initial(), required R loading(), required R data(T data), required R error(Object error, StackTrace stackTrace)}) → R -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited