IsolateHttpResponse class
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
no setter
-
bodyAsMap
→ Map<
String, dynamic> -
Return the body as as Map<String, dynamic>.
no setter
- bodyJson → dynamic
-
Return the body as as Json (dynamic).
no setter
- contentLength → int?
-
The size of the response body, in bytes.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
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.
no setterinherited
- statusCode → int
-
The status code of the response as 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited