HttpBodyFileUpload class

A HttpBodyFileUpload object wraps a file upload, presenting a way for extracting filename, contentType and the data of the uploaded file.

Constructors

HttpBodyFileUpload()

Properties

content → dynamic
The content of the file. Either a String or a List<int>.
read-only
contentType ContentType
The ContentType of the uploaded file. For 'text/*' and 'application/json' the content field will a String.
read-only
filename String
The filename of the uploaded file.
read-only
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

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 ==(Object other) bool
The equality operator. [...]
inherited