RepositoryHttpResponse class

A class that represents the response from a HTTP request.

Constructors

RepositoryHttpResponse({required int statusCode, required Map<String, String> headers, required String body})
A class that represents the response from a HTTP request.
const

Properties

body String
The body of the response.
final
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
The headers of the response.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
The status code of the response.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited