WalletState class

Immutable snapshot of the wallet connection state.

Constructors

WalletState({String? address, bool isConnecting = false, String? error})

Properties

address String?
The Base58 public key of the connected wallet, or null when disconnected.
final
error String?
A human-readable error message from the last failed operation, if any.
final
hashCode int
The hash code for this object.
no setterinherited
isConnecting bool
true while a connection attempt is in progress.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? address, bool? isConnecting, String? error}) WalletState
Returns a copy of this state with the provided fields replaced.
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