asyncGetPublicKey method
Implementation
Future<String?> asyncGetPublicKey(String? privateKey) async {
if (privateKey != null && Account.isPrivateKey.hasMatch(privateKey)) {
return await asyncGetPubKeyFromPrivateKey(privateKey);
} else {
return null;
}
}