getPublicKey method

Uint8List getPublicKey()

Gets the public key as bytes (compressed format).

Implementation

Uint8List getPublicKey() {
  return Uint8List.fromList(publicKey);
}