WalletBook class
The registry document as fetched. wallets and groups are keyed by registry id — the ids ARE data, which is why they are maps and not lists — and priority is the order the registry wants the best-known wallets shown in.
Constructors
-
WalletBook({Map<
String, WalletBookEntry> ? wallets, Map<String, WalletBookGroup> ? groups, List<String> ? priority}) -
const
Properties
-
groups
→ Map<
String, WalletBookGroup> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
priority
→ List<
String> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
wallets
→ Map<
String, WalletBookEntry> ? -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
options(
List< String> mechanismKeys) → List<ExternalWalletOption> - Builds picker options for WalletConnect sign_v2 and installed mechanismKeys. Sorts by registry priority, then name. Usable directly by a provider without a client.
-
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) → WalletBook