APIResponse class
API Response
Constructors
Properties
Methods
-
getBody(
) → Map< String, dynamic> - Get response body
-
getHeaders(
) → Map< String, dynamic> - Get herders
-
getStatusCode(
) → int? - Get header status code
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setBody(
Map< String, dynamic> body) → void - Set response body
-
setHeaders(
Map< String, dynamic> headers) → void - Add headers
-
setStatusCode(
int statusCode) → void - set status code
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited