Keyring class
A Keyring instance maintains the local storage of key-pairs for users. We need to pass the storage instance to WalletSDK's keyring api for account management.
Constructors
- Keyring()
Properties
-
allAccounts
→ List<
KeyPairData> -
no setter
-
allWithContacts
→ List<
KeyPairData> -
no setter
-
contacts
→ List<
KeyPairData> -
no setter
- current → KeyPairData
-
no setter
-
externals
→ List<
KeyPairData> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
keyPairs
→ List<
KeyPairData> -
no setter
-
optionals
→ List<
KeyPairData> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- ss58 → int?
-
no setter
- store ↔ KeyringPrivateStore
-
getter/setter pair
Methods
-
init(
List< int> ss58List) → Future<void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setCurrent(
KeyPairData acc) → void -
setSS58(
int? ss58) → int? -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited