WalletSyncController class

Constructors

WalletSyncController()

Properties

hashCode → int
The hash code for this object.
no setterinherited
ref → Ref
The Ref associated with this notifier.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state ↔ WalletSyncDrive
The value currently exposed by this notifier.
getter/setter pairinherited
stateOrNull → WalletSyncDrive?
The value currently exposed by this Notifier.
no setterinherited

Methods

build() → WalletSyncDrive
Initialize a Notifier.
listenSelf(void listener(WalletSyncDrive? previous, WalletSyncDrive next), {void onError(Object error, StackTrace stackTrace)?}) → RemoveListener
Listens to changes on the value exposed by this provider.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retry() → void
Re-attempt after a WalletSyncDrive.failed — the only state with a manual affordance, and a contextual recovery action (honest next step, invariant 6), not the old always-on Start/Stop button.
runBuild() → WhenComplete?
Executes Notifier.build.
inherited
toString() → String
A string representation of this object.
inherited
tryNow() → bool
Retry NOW from a live SyncStatus_Stalled (#399 item 4) — the sheet's "Try now" affordance. The sync loop's retry backoff caps at 600s and never resets on connectivity return (no connectivity listener exists — the residual), so after a long outage a user who just fixed their Wi-Fi could stare at "retries automatically" for up to 10 minutes. A stop+start resets the ladder by design (durable scan progress is kept — stopping loses nothing), giving them an immediate attempt instead.
updateShouldNotify(WalletSyncDrive previous, WalletSyncDrive next) → bool
A method invoked when the state exposed by this Notifier changes. It compares the previous and new value, and return whether listeners should be notified.
inherited

Operators

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