asyncGetPublicKey method

Future<String?> asyncGetPublicKey(
  1. String? privateKey
)

Implementation

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