ProgressMode enum
The desired behavior of a progress notification subscription.
Values
- reportIndefinitely → const ProgressMode
-
The callback will be called forever, or until it is unregistered by closing the
Stream<SyncProgress>
. Notifications will always report the latest number of transferred bytes, and the most up-to-date number of total transferable bytes. - forCurrentlyOutstandingWork → const ProgressMode
-
The callback will, upon registration, store the total number of bytes to be transferred. When invoked, it will always report the most up-to-date number of transferable bytes out of that original number of transferable bytes. When the number of transferred bytes reaches or exceeds the number of transferable bytes, the callback will be unregistered.
Properties
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
Constants
-
values
→ const List<
ProgressMode> - A constant List of the values in this enum, in order of their declaration.