deleteAccount method

Future<void> deleteAccount(
  1. Keyring keyring,
  2. KeyPairData account
)

delete account from storage

Implementation

Future<void> deleteAccount(Keyring keyring, KeyPairData account) async {
  await keyring.store.deleteAccount(account.pubKey);
}