Request class

Constructors

Request(String method, String baseUrl, String url, {dynamic body, dynamic parts, dynamic parameters, dynamic headers, dynamic multipart})
const

Properties

baseUrl String
final
body → dynamic
final
hashCode int
The hash code for this object.
read-onlyinherited
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-onlyinherited
url String
final

Methods

copyWith({String method, String baseUrl, String url, dynamic body, List<PartValue> parts, Map<String, dynamic> parameters, Map<String, String> headers, bool multipart}) Request
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toBasicRequest() Future
toHttpRequest() Future
toMultipartRequest() Future
toStreamedRequest() Future
toString() String
A string representation of this object.
inherited

Operators

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