Response class

HTTP response

Available extensions

Constructors

Response.new(int statusCode, String? statusText, String? content, Map<String, String> headers)
Create a response

Properties

content String?
content
final
contentType ContentType?

Available on Response, provided by the ResponseExtension extension

no setter
encoding Encoding

Available on Response, provided by the ResponseExtension extension

no setter
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
headers
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
statusCode
final
statusText String?
statusText
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