HttpResponse class
http library response object
Constructors
- HttpResponse({required bool success, dynamic data, dynamic error})
Properties
- data ↔ dynamic
-
The data for response.
getter/setter pair
- error ↔ dynamic
-
If the request failed what is the error.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- success ↔ bool
-
The success status of the response.
getter/setter pair
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