ExternalWalletAccount class
Connected account and display metadata. Providers must normalize EVM addresses to EIP-55 checksum form for SIWE.
Constructors
- ExternalWalletAccount({required String chain, required String address, required String displayName})
-
const
Properties
- address → String
-
final
- chain → String
-
final
- displayName → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
-
verifyWalletName(
) → String - Lowercase ASCII-alphanumeric wallet name with its chain suffix appended if absent. Not a display label.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> json) → ExternalWalletAccount