SnapdTaskProgress class
Progress of a SnapdTask.
- Annotations
-
- @immutable
- @JsonSerializable()
Constructors
- SnapdTaskProgress({String label = '', int done = 0, int total = 0})
-
const
-
SnapdTaskProgress.fromJson(Map<
String, dynamic> json) -
factory
Properties
- done → int
-
Number of progress items complete.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- label → String
-
Optional label.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- total → int
-
Total number of progress items in this task.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override