RetryConfig class

Constructors

RetryConfig({required int maxRetries, required Duration retryDelay, required bool cancelWhenOffline})
const
RetryConfig.withConstantDefaults({int? maxRetries, Duration? retryDelay})
factory
RetryConfig.withDefaults(BuildContext context, {int? maxRetries, Duration? retryDelay})
factory

Properties

cancelWhenOffline bool
final
hashCode int
The hash code for this object.
no setterinherited
maxRetries int
final
retryDelay Duration
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? maxRetries, Duration? retryDelay, bool? cancelWhenOffline}) RetryConfig
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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