FormDataRequest class

An implementation of Request for multipart/form-data requests

Inheritance

Constructors

FormDataRequest({required Uri uri, required HttpVerb verb, Map<String, Uint8List>? files, Map<String, String>? form, Map<String, String>? headers})
const

Properties

contentType ContentType
finalinherited
data String
finalinherited
files Map<String, Uint8List>
final
form Map<String, String>
final
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri Uri
finalinherited
verb HttpVerb
finalinherited

Methods

copyWith({Uri? uri, Map<String, String>? headers, Map<String, Uint8List>? files, Map<String, String>? form}) Request
override
merge({required List<Request> requests}) Request
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBaseRequest() → BaseRequest
override
toString() String
A string representation of this object.
inherited

Operators

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