Task class

Task object encapsulating task information.

Constructors

Task({required Status status, int? progressPercent, String? statusDetail})
Task.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
progressPercent int?
Indication of the percentage completion of the task.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status Status
Status of the task - Not Started, In-Progress, Complete.
final
statusDetail String?
Details of task status as notified by a migration tool. A tool might use this field to provide clarifying information about the status that is unique to that tool or that explains an error state.
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.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited