fromFile static method
Implementation
static fromFile(String keyStore, String? passphrase) async {
// String newPrvKey = await decrypt(json.decode(keyStore), passphrase);
try {
String? newPrvKey = await asyncDecrypt(json.decode(keyStore), passphrase);
return new Account(newPrvKey);
} catch (e) {
rethrow;
}
}