checkSeedExist method
Implementation
Future<bool> checkSeedExist(KeyType keyType, String pubKey) async {
switch (keyType) {
case KeyType.mnemonic:
return _storage.encryptedMnemonics.val[pubKey] != null;
case KeyType.rawSeed:
return _storage.encryptedRawSeeds.val[pubKey] != null;
default:
return false;
}
}