Wrapper class for all the responses from the API
- data → T?
Contains response data of type
- error → String?
In case of error provides some additional information, may be empty
- hashCode → int
The hash code for this object.
- runtimeType → Type
A representation of the runtime type of the object.
- wasSuccessful → bool
Indicates whether response was success