SyncOutcome class final
The sync's outcome.
Constructors
-
SyncOutcome({required String behavior, required bool succeeded, required int attempts, required dynamic result, required List<
SyncFailure> failures, required int virtualElapsedMs, required bool repaired, String? stoppedBy}) -
const
Properties
- attempts → int
-
final
- behavior → String
-
final
-
failures
→ List<
SyncFailure> -
The complete failure ledger (every tolerated failure, in order).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- repaired → bool
-
Whether a partial write was detected and repaired.
final
- result → dynamic
-
The final payload on success (the served fixture).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stoppedBy → String?
-
The failure class that stopped an unsuccessful sync
(
auth-user-token-expired,budget-exhausted, ...).final - succeeded → bool
-
final
- virtualElapsedMs → int
-
Virtual ms the sync consumed (latency draws + backoff waits).
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