WalletRescanController class
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
↔ WalletRescanState
-
The value currently exposed by this notifier.
getter/setter pairinherited
-
stateOrNull
→ WalletRescanState?
-
The value currently exposed by this
Notifier.
no setterinherited
Methods
-
build()
→ WalletRescanState
-
Initialize a
Notifier.
-
dismissFailure()
→ void
-
Dismiss the failed/blocked cue (back to idle) after the user has read it.
Dismissing over a still-catching-up wallet does NOT erase the explanation:
walletCatchUpCueProvider's durable arm re-derives it (#380 (b)) — and
does so exactly when the wallet's balance/history genuinely are still
filling in: always on the post-rename arms (the rebuild cleared the
stamp), and on an intact pre-rename/fence arm only if that wallet had
never finished a sync pass anyway (a fence hit mid-FIRST-sync — the cue
is equally honest there). A previously-synced intact wallet derives no
cue. A controller-side "dismiss → Rebuilding" transition could not tell
these arms apart, which is why the derivation owns the handover.
-
listenSelf(void listener(WalletRescanState? previous, WalletRescanState 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
-
rescan(RescanTarget target)
→ Future<void>
-
Trigger a rescan from
target (all-history / a picked date / the
wallet's own start — see RescanTarget). Idempotent against a
double-tap: a second call while the FFI rebuild is running no-ops (the
OnboardingController also single-flights — defence in depth). Never
throws: the resulting WalletRescanState IS the surface.
-
runBuild()
→ WhenComplete?
-
Executes
Notifier.build.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateShouldNotify(WalletRescanState previous, WalletRescanState 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