TestResponse class

A fully read response.

Properties

body → String
latefinal
bodyBytes → List<int>
final
error → Map<String, Object?>?
The error object of gisila's error envelope, or null.
no setter
errorCode → String?
error.code (unauthorized, invalid_token, validation_error...).
no setter
errorMessage → String?
error.message.
no setter
hashCode → int
The hash code for this object.
no setterinherited
headers → Map<String, String>
Response headers; lookups ignore case.
final
json → Object?
The decoded JSON body. Throws FormatException (showing the body) when it isn't JSON.
latefinal
jsonList → List<Object?>
json as an array.
no setter
jsonMap → Map<String, Object?>
json as an object.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
statusCode → int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited