Response<T> class

Constructors

Response({required int statusCode, required Map<String, List<String>> headers, required Stream<List<int>> responseBody, required Request request})

Properties

body ↔ T?
getter/setter pair
contentLength int
no setter
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, List<String>>
final
request Request
final
responseBody Stream<List<int>>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
final

Methods

blob() Future<List<int>>
json() Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
text() Future<String>
toString() String
A string representation of this object.
inherited

Operators

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