publicKey method

Future<PublicKey> publicKey()

Obtain the public key from private key G1

Implementation

Future<PublicKey> publicKey() async {
  final result = await api.secretKeyPublicKey(sk: byteList);
  return PublicKey(result);
}