RetryPolicy class
A RetryPolicy
object that includes information about the retry
policy settings.
Constructors
- RetryPolicy({int? maximumEventAgeInSeconds, int? maximumRetryAttempts})
-
RetryPolicy.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- maximumEventAgeInSeconds → int?
-
The maximum amount of time, in seconds, to continue to make retry attempts.
final
- maximumRetryAttempts → int?
-
The maximum number of retry attempts to make before the request fails. Retry
attempts continue until either the maximum number of attempts is made or
until the duration of the
MaximumEventAgeInSeconds
is met.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> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited