DataState class
- Annotations
Constructors
- DataState({required LoadingState loadingState, Object? exception})
-
const
- DataState.error(Object exception)
-
const
- DataState.full()
-
const
- DataState.loading()
-
const
- DataState.none()
-
const
- DataState.partial()
-
const
Properties
- exception → Object?
-
final
- hasException → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- isFull → bool
-
no setter
- isLoading → bool
-
no setter
- isNone → bool
-
no setter
- loadingState → LoadingState
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override