DVProgress class final

How far through a task is.

The specification says progress and cancellation are the typed events Background and Durable Work defines. That section defines none, so these are defined here and the jobs layer can adopt them rather than a second vocabulary appearing there later.

Constructors

DVProgress(double fraction, {String? message})
const

Properties

fraction → double
Between 0 and 1 inclusive.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String?
What the task is doing, when it says.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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