HttpBaseClientResponse class
A Wrapper around the http.Response class. Will return status -1 if any client side error occurs, such as NO Internet connection or Socket Exceptions
Constructors
Properties
- data → dynamic
-
Returns the parsed JSON or null
no setter
- dataAsFuture → Future
-
Returns asynchronously the parsed JSON or null
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> -
final
- message → String
-
final
- payload → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited