IsolateHttpResponse class Null safety

The response using for Isolate Http.

Constructors

IsolateHttpResponse(String body, int statusCode, Map<String, String> headers, {int? contentLength, IsolateHttpRequest? request})
The response using for Isolate Http.

Properties

body String
The body of the response as a String.
final
bodyAsList List
Return the body as as List
read-only
bodyAsMap Map<String, dynamic>
Return the body as as Map<String, dynamic>.
read-only
bodyJson → dynamic
Return the body as as Json (dynamic).
read-only
contentLength int?
The size of the response body, in bytes.
final
hashCode int
The hash code for this object.
read-onlyinherited
headers Map<String, String>
The headers of the response as a Map<String, String>.
final
request IsolateHttpRequest?
The (frozen) request that triggered this response.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
statusCode int
The status code of the response as int.
final

Methods

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