PreSigningOutput_Sighash constructor

PreSigningOutput_Sighash({
  1. List<int>? publicKey,
  2. List<int>? sighash,
  3. PreSigningOutput_SigningMethod? signingMethod,
  4. PreSigningOutput_TaprootTweak? tweak,
})

Implementation

factory PreSigningOutput_Sighash({
  $core.List<$core.int>? publicKey,
  $core.List<$core.int>? sighash,
  PreSigningOutput_SigningMethod? signingMethod,
  PreSigningOutput_TaprootTweak? tweak,
}) {
  final $result = create();
  if (publicKey != null) {
    $result.publicKey = publicKey;
  }
  if (sighash != null) {
    $result.sighash = sighash;
  }
  if (signingMethod != null) {
    $result.signingMethod = signingMethod;
  }
  if (tweak != null) {
    $result.tweak = tweak;
  }
  return $result;
}