Request class

HTTP request

Available extensions

Constructors

Request.new(String method, Uri url)
Create a request.

Properties

content String?
content
getter/setter pair
contentType ContentType?

Available on Request, provided by the RequestExtension extension

no setter
encoding Encoding

Available on Request, provided by the RequestExtension extension

no setter
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
headers
final
method String
method
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url Uri
url
final

Methods

encode() List<int>

Available on Request, provided by the RequestExtension extension

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