HttpResponse class

Constructors

HttpResponse({dynamic data, Map<String, dynamic>? headers, int? statusCode, String? statusMessage})
const

Properties

data → dynamic
Response body. may have been transformed, please refer to ResponseType.
final
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, dynamic>?
Response headers.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int?
Http status code.
final
statusMessage String?
Returns the reason phrase associated with the status code. The reason phrase must be set before the body is written to. Setting the reason phrase after writing to the body.
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