PublicKey constructor

PublicKey({
  1. List<int>? ed25519,
  2. List<int>? secp256k1,
})

Implementation

factory PublicKey({
  $core.List<$core.int>? ed25519,
  $core.List<$core.int>? secp256k1,
}) {
  final _result = create();
  if (ed25519 != null) {
    _result.ed25519 = ed25519;
  }
  if (secp256k1 != null) {
    _result.secp256k1 = secp256k1;
  }
  return _result;
}