HttpBodyFileUpload abstract class
A HttpBodyFileUpload object wraps a file upload, presenting a way for extracting filename, contentType and the data of the uploaded file.
abstract class HttpBodyFileUpload { /** * The filename of the uploaded file. */ String get filename; /** * The [ContentType] of the uploaded file. For 'text/\*' and * 'application/json' the [data] field will a String. */ ContentType get contentType; /** * The content of the file. Either a [String] or a [List<int>]. */ dynamic get content; }
Properties
final ContentType contentType #
The ContentType of the uploaded file. For 'text/\*' and
'application/json' the data
field will a String.
ContentType get contentType;