Wallet class
- Implemented types
Constructors
- Wallet(dynamic _messenger)
Properties
-
accounts
→ List<
String> -
no setteroverride
- defaultAccount ↔ String?
-
getter/setter pairoverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- length → int
-
no setteroverride
- messenger ↔ dynamic
-
getter/setter pairoverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
toMap
↔ Map<
String, Account?> -
getter/setter pair
Methods
-
add(
dynamic obj) → Account? -
asyncCreate(
) → Future< Account> -
create(
) → Account -
decryptAccount(
String addr, String passphrase) → Future< Account?> -
encryptAccount(
String addr, String passphrase, [Map< String, dynamic> ? options]) → Future<Account?> -
generateMnemonic(
) → String -
getAccount(
String? addr) → Account? -
getDefaultAccount(
) → Account? -
importAccountFromMnemonic(
String phrase, int index) → Account? -
isValidMnemonic(
String phrase) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
String addr) → void -
setDefaultAccount(
String addr) → void -
toString(
) → String -
A string representation of this object.
inherited
-
update(
String addr, Account? account) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited