WalletBookEntry class

One wallet in the registry document, keyed in the document by its registry id.

Constructors

WalletBookEntry({String? name, String? group, List<String>? chains, WalletBookWalletConnect? walletConnect, List<WalletBookInjectedConfig>? injectedConfig, WalletBookMobileLinks? mobile, WalletBookDesktopLinks? desktop, WalletBookBrand? brand})
const

Properties

brand → WalletBookBrand?
final
chains → List<String>?
final
desktop → WalletBookDesktopLinks?
final
group → String?
final
hashCode → int
The hash code for this object.
no setterinherited
injectedConfig → List<WalletBookInjectedConfig>?
final
mobile → WalletBookMobileLinks?
final
name → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
walletConnect → WalletBookWalletConnect?
final

Methods

chainCode() → String
Primary SDK chain code from injectedConfig, then the first CAIP-2 namespace, otherwise EVM.
isOffered(String key, List<String> mechanismKeys) → bool
Whether an external wallet is reachable through WalletConnect sign_v2 or an installed mechanism. Excludes embedded and extension-only entries; key is its document ID.
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

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) → WalletBookEntry