VerificationKey constructor

VerificationKey({
  1. VerificationKey_Ed25519Vk? ed25519,
  2. VerificationKey_ExtendedEd25519Vk? extendedEd25519,
})

Implementation

factory VerificationKey({
  VerificationKey_Ed25519Vk? ed25519,
  VerificationKey_ExtendedEd25519Vk? extendedEd25519,
}) {
  final _result = create();
  if (ed25519 != null) {
    _result.ed25519 = ed25519;
  }
  if (extendedEd25519 != null) {
    _result.extendedEd25519 = extendedEd25519;
  }
  return _result;
}