RawUpload class

Also called a binary upload, this represents a upload without any form-encoding applies.

Inheritance

Constructors

RawUpload({required String url, UploadMethod method = UploadMethod.POST, Map<String, String>? headers, String? tag, String? path, bool allowCellular = true})
Default constructor.
const

Properties

allowCellular bool
If uploads are allowed to use cellular connections Defaults to true. If false, uploads will only use wifi connections
finalinherited
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>?
HTTP headers.
finalinherited
method UploadMethod
HTTP method to use for upload (POST,PUT,PATCH)
finalinherited
path String?
single file to upload
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tag String?
Name of the upload request (only used on Android)
finalinherited
url String
Upload link
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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