FutureApiResponse class

All methods of EndpointManager return FutureApiResponse.

as* methods perform casting on the data of an APIResponse.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

asBool() Future<APIResponse<bool>>
Get response as APIResponse<bool>.
asDouble() Future<APIResponse<double>>
Get response as APIResponse<double>.
asDynamic() Future<APIResponse>
Get response as APIResponse<dynamic>.
asInt() Future<APIResponse<int>>
Get response as APIResponse<int>.
asList() Future<APIResponse<JsonList>>
Get response as APIResponse<List<Map<String,dynamic>>>.
asMap() Future<APIResponse<JsonMap>>
Get response as APIResponse<Map<String,dynamic>>.
asString() Future<APIResponse<String>>
Get response as APIResponse<String>.
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