Response<T> class

Constructors

Response(Response response, T body, {dynamic error})

Properties

body → T
final
bodyString String
read-only
error → dynamic
final
hashCode int
The hash code for this object.
read-onlyinherited
headers Map<String, String>
read-only
message String
read-only
response → Response
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
status int
read-only

Methods

copyWith<T>({Response response, T body}) Response<T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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