IHttpResponseSuccess class Null safety

A successful HTTP response.

Implemented types

Constructors

IHttpResponseSuccess()

Properties

body Uint8List
The body of this response.
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
hasJsonBody bool
Whether this response has a JSON body.
read-onlyinherited
headers Map<String, String>
The headers associated with the response.
read-onlyinherited
jsonBody → dynamic
The body of this response, decoded as JSON.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
statusCode int
The status code of the response.
read-onlyinherited
textBody String?
The body of this response, decoded as UTF-8.
read-onlyinherited

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