StorageFilesHandler<FileType extends Object, ReturnType extends Object> class

Annotations

Constructors

StorageFilesHandler({required Future<CommitsHandler<ReturnType>> commit(), required FilesHandler<FileType> filesHandler, required AsyncSnapshotWithProgress<Map<FileType, ReturnType>?, Map<ReturnType, TaskSnapshot?>> snapshot})
const

Properties

commit Future<CommitsHandler<ReturnType>> Function()
This will commit the file(s) to storage. The return value can be used to revert the changes or to get the result of the commit. If you'd like to listen to the progress, you can find that in the snapshot parameter.
final
filesHandler FilesHandler<FileType>
This will handle selecting and listening to the file(s) that are to be uploaded.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
snapshot AsyncSnapshotWithProgress<Map<FileType, ReturnType>?, Map<ReturnType, TaskSnapshot?>>
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