LocalFile class

In client side, it is actual local file. In server side, it is the representation of multi part file.

Constructors

LocalFile({required String filename, required int size, required Stream<List<int>> stream, String? path, String? fid})
const

Properties

fid String?
necessary for server side.
final
fileId String
no setter
filename String
final
hashCode int
The hash code for this object.
no setterinherited
path String?
necessary for server side, it is the multiPart's name.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
not necessary for server side, just set 0.
final
stream Stream<List<int>>
final

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