SyncFailed class
A sync cycle failed; a retry may be scheduled.
Constructors
- SyncFailed({required DateTime timestamp, required Object error, required int attempt, Duration? retryIn})
-
Creates a failed event.
const
Properties
- attempt → int
-
Which attempt failed.
final
- error → Object
-
The error.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- retryIn → Duration?
-
When the next attempt is due, if any.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → DateTime
-
When the event happened.
final
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