BackoffCriteria class

Sets the backoff policy and backoff delay for the work.

Annotations

Constructors

BackoffCriteria({required BackoffPolicy policy, required Duration delay})
Creates a BackoffCriteria with the backoff policy and backoff delay.
const

Properties

delay Duration
Backoff backoff delay for the work.
final
hashCode int
The hash code for this object.
no setterinherited
policy BackoffPolicy
Backoff policy for the work.
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
toJson() Map<String, dynamic>
Serializes this backoff criteria into a json object.
toString() String
A string representation of this object.
inherited

Operators

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