DeadlineSpec class final

The parsed shape of a deadline spec: relative (duration) or absolute (epochMs). Exactly one field is non-null.

Properties

duration → Duration?
Relative budget, resolved against the set time.
final
epochMs → int?
Absolute epoch-ms timestamp.
final
hashCode → int
The hash code for this object.
no setterinherited
isEpoch → bool
Whether the spec is an absolute epoch-ms timestamp.
no setter
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.
inherited

Operators

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