Attempts class final

Attempt limits and aggregate attempt counts for an upload request.

Exposes maxAttempts, attemptCount, failedAttemptCount, and lastAttemptedAt.

Constructors

Attempts({int? maxAttempts, required int attemptCount, required int failedAttemptCount, DateTime? lastAttemptedAt})
const
Attempts.fromJson(Map<String, Object?> json)
factory

Properties

attemptCount → int
final
failedAttemptCount → int
final
hashCode → int
The hash code for this object.
no setterinherited
lastAttemptedAt → DateTime?
final
maxAttempts → int?
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, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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