data_state library
Enums
- StateType
-
The 3 possibles states,
success
,loading
anderror
.
Typedefs
-
DataState<
T> = _DataStateCore< T, dynamic> -
Used when wants to set the success (T) type. The error will be
dynamic
. -
DataStateCustom<
T, E> = _DataStateCore< T, E> - Used when wants to set the success (T) and error (E) type.