SignatureVerification constructor

SignatureVerification({
  1. VerificationKey? verificationKey,
  2. Witness? signature,
  3. Message? message,
})

Implementation

factory SignatureVerification({
  VerificationKey? verificationKey,
  Witness? signature,
  Message? message,
}) {
  final _result = create();
  if (verificationKey != null) {
    _result.verificationKey = verificationKey;
  }
  if (signature != null) {
    _result.signature = signature;
  }
  if (message != null) {
    _result.message = message;
  }
  return _result;
}