publicKey property
SVPublicKey
publicKey
Returns the public key associated with this private key as a SVPublicKey
Implementation
SVPublicKey get publicKey {
List<int> buffer = this.keyBuffer;
SVPrivateKey privateKey = SVPrivateKey.fromHex(HEX.encode(Uint8List.fromList(buffer)), this.networkType!);
return privateKey.publicKey;
}