IResponse class
- Implemented types
- Available extensions
Properties
- body → String
-
The body of the response as a string.
no setteroverride
- bodyBytes → Uint8List
-
The bytes comprising the body of this response.
no setteroverride
- contentLength → int?
-
The size of the response body, in bytes.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> -
The HTTP headers returned by the server.
no setteroverride
-
headersSplitValues
→ Map<
String, List< String> > -
Available on BaseResponse, provided by the HeadersWithSplitValues extension
The HTTP headers returned by the server.no setter - isRedirect → bool
-
no setteroverride
- persistentConnection → bool
-
Whether the server requested that a persistent connection be maintained.
no setteroverride
- reasonPhrase → String?
-
The reason phrase associated with the status code.
no setteroverride
- request → BaseRequest?
-
The (frozen) request that triggered this response.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int
-
The HTTP status code for this response.
no setteroverride
Methods
-
get(
Token name) → Object? -
override
-
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