HiddenSignerBridgeRuntimeController class final

Inheritance
Implemented types

Properties

config HiddenSignerBridgeConfig
no setter
hasEverBeenHosted bool
Whether a HiddenSignerBridgeHost has ever attached a port to this controller.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
Whether any listeners are currently registered.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state HiddenSignerBridgeState
no setter

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
addMessageListener(HiddenSignerBridgeMessageListener listener) String
override
attachPort(HiddenSignerBridgePort port) → void
debugResetSignerSession() Future<void>
Test-only: clears the WebView's persistent storage (cookies, cache, localStorage) and reloads the bridge page. After this completes, the next getStatus call on a non-custodial signer will return pendingOtp instead of ready, forcing a fresh OTP authentication flow. Intended for integration tests that want to exercise the abandoned-OTP-retry contract deterministically rather than relying on bridge session state surviving logout/relogin.
detachPort([HiddenSignerBridgePort? port]) → void
dispose() Future<void>
Discards any resources used by the object.
override
handleJavaScriptMessage(String rawMessage) → void
handleNavigationBlocked(String url) → void
handlePageFinished(String url) → void
handleWebResourceError(Object error) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
postMessage(CrossmintJsonMap message) Future<void>
override
prepare() Future<void>
override
reload() Future<void>
override
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
removeMessageListener(String listenerId) → void
override
send(CrossmintJsonMap request) Future<CrossmintJsonMap>
override
toString() String
A string representation of this object.
inherited

Operators

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