Methods
-
map<TResult extends Object?>({required TResult preparing(Preparing value), required TResult inProgress(InProgress value), required TResult success(Success value), required TResult failed(Failed value)})
→ TResult
-
inherited
-
mapOrNull<TResult extends Object?>({TResult? preparing(Preparing value)?, TResult? inProgress(InProgress value)?, TResult? success(Success value)?, TResult? failed(Failed value)?})
→ TResult?
-
inherited
-
maybeMap<TResult extends Object?>({TResult preparing(Preparing value)?, TResult inProgress(InProgress value)?, TResult success(Success value)?, TResult failed(Failed value)?, required TResult orElse()})
→ TResult
-
inherited
-
maybeWhen<TResult extends Object?>({TResult preparing()?, TResult inProgress(int uploaded, int total)?, TResult success()?, TResult failed(String error)?, required TResult orElse()})
→ TResult
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson()
→ Map<String, dynamic>
-
Serializes this UploadState to a JSON map.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
when<TResult extends Object?>({required TResult preparing(), required TResult inProgress(int uploaded, int total), required TResult success(), required TResult failed(String error)})
→ TResult
-
inherited
-
whenOrNull<TResult extends Object?>({TResult? preparing()?, TResult? inProgress(int uploaded, int total)?, TResult? success()?, TResult? failed(String error)?})
→ TResult?
-
inherited