publicKey property

Uint8List get publicKey

Implementation

Uint8List get publicKey {
  if (_publicKey == null) {
    final ecc = Bip32EccCurve();

    _publicKey = ecc.pointFromScalar(privateKey!);
  }

  return _publicKey!;
}
set publicKey (Uint8List? publicKey)

Implementation

set publicKey(Uint8List? publicKey) {
  if (publicKey == null) {
    final ecc = Bip32EccCurve();
    this.publicKey = ecc.pointFromScalar(privateKey!);
  }
}