request_state library
Classes
-
RequestState<
T> - Class that handles state, value and possible errors generated during a network data transmission.
Enums
- RequestStatus
- Variable that represents the current state of the response operation.
Typedefs
-
ValueConstructor<
T> = T Function(Map< String, dynamic> ) - Function that deserialize the data in JSON form to an actual instance of the object.
-
ValueDeconstructor<
T> = Map< String, dynamic> ? Function(T?) - Function that serialize the data to a JSON form.