MultipartFileRecreatable class Null safety

Inheritance

Constructors

MultipartFileRecreatable(Stream<List<int>> stream, int length, String? filename, String filePath, {MediaType? contentType})

Properties

contentType MediaType?
The content-type of the file. Defaults to application/octet-stream.
finalinherited
filename String?
The basename of the file. May be null.
finalinherited
filePath String
final
hashCode int
The hash code for this object.
read-onlyinherited
headers Map<String, List<String>>?
The additional headers the file has. May be null.
finalinherited
isFinalized bool
Whether finalize has been called.
read-onlyinherited
length int
The size of the file in bytes. This must be known in advance, even if this file is created from a ByteStream.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

finalize() Stream<List<int>>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
recreate() MultipartFileRecreatable
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromFileSync(String filePath, {String? filename, MediaType? contentType}) MultipartFileRecreatable
override