decryptAccount method
account decyption
Implementation
Future decryptAccount(String? passphrase) async {
if (this.privateKey is String &&
Account.isPrivateKey.hasMatch(this.privateKey!)) {
return null;
}
// this.privateKey = await decrypt(json.decode(this.privateKey), passphrase);
this.privateKey =
await asyncDecrypt(json.decode(this.privateKey!), passphrase);
// return this;
}