RetryConfig class
Configuration for retry behavior
Constructors
- RetryConfig({int maxRetries = 3, Duration initialDelay = const Duration(seconds: 1), double backoffMultiplier = 2.0, Duration maxDelay = const Duration(seconds: 30)})
-
const
Properties
- backoffMultiplier → double
-
Multiplier for exponential backoff
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialDelay → Duration
-
Initial delay before first retry
final
- maxDelay → Duration
-
Maximum delay between retries
final
- maxRetries → int
-
Maximum number of retry attempts
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited