Request class

Annotations
  • @immutable

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

Methods

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>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited