UploadObject class Null safety
This handles the upload of an object, e.g Strings or text objects in general
Constructors
- UploadObject({required UploadTaskConfig config, dynamic onUploadComplete(dynamic response, String versionId)?})
Properties
- config → UploadTaskConfig
-
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- onUploadComplete → (dynamic Function(dynamic response, String versionId)?)
-
onUploadComplete is called when the upload has been completed. It gives the response and teh version id
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
-
uploadProgress
→ Stream<
List< int> > -
uploadProgress returns a Stream of the currently upload progress.
read-only
Methods
-
dispose(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
upload(
) → Future< bool>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited