Request class

Annotations

Constructors

Request(String method, String url, String baseUrl, {dynamic body, Map<String, dynamic> parameters, Map<String, String> headers, bool multipart, List<PartValue> parts})
const

Properties

baseUrl String
final
body → dynamic
final
hashCode int
The hash code for this object. [...]
read-only, inherited
headers Map<String, String>
final
method String
final
multipart bool
final
parameters Map<String, dynamic>
final
parts List<PartValue>
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
url String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
replace({HttpMethod method, String url, dynamic body, Map<String, dynamic> parameters, Map<String, String> headers, Encoding encoding, List<PartValue> parts, bool multipart, String baseUrl}) Request
toBaseRequest() Future<BaseRequest>
toString() String
A string representation of this object. [...]
inherited

Operators

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