WalletFactory class

Factory for deserializing wallets from storage Storage packages use this to convert stored data back to Wallet objects Each wallet type implements a static fromStorage method that handles its specific deserialization

Constructors

WalletFactory()

Properties

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
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromStorage({required String id, required String name, required WalletType type, required Set<String> supportedUnits, required Map<String, dynamic> metadata}) Wallet
Creates a wallet instance from storage data Delegates to subclass static fromStorage methods based on wallet type