StatefulDataState enum

List of possible states of the data.

Inheritance

Constructors

StatefulDataState()
const

Values

initialLoading → const StatefulDataState

Data is loading at the first time, or the previously loaded data was empty.

initialLoadingError → const StatefulDataState

An error occurred on initial data loading.

empty → const StatefulDataState

Data was successfully loaded but it is empty.

ready → const StatefulDataState

Data was successfully loaded and its value is available.

loading → const StatefulDataState

Data loading is in progress.

error → const StatefulDataState

An error occurred on data loading.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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.
inherited

Operators

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

Constants

values → const List<StatefulDataState>
A constant List of the values in this enum, in order of their declaration.