ConstantRetryPolicy class abstract

The operation will be retried periodically with a maximum number of tries.

Inheritance

Constructors

ConstantRetryPolicy({required int maxRetries, required Duration delayInSeconds})
Default constructor for ConstantRetryPolicy.
factory

Properties

delayInSeconds → Duration
The time interval between retries in seconds.
no setter
hashCode → int
The hash code for this object.
no setterinherited
maxRetries → int
The maximum number of retries.
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
toJson() → Map<String, dynamic>
Returns a JSON-encoded representation of the value you supply.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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