SignedWitness constructor

SignedWitness({
  1. SignedWitness_VerificationMethod? verificationMethod,
  2. List<int>? accountAgeWitnessHash,
  3. List<int>? signature,
  4. List<int>? signerPubKey,
  5. List<int>? witnessOwnerPubKey,
  6. Int64? date,
  7. Int64? tradeAmount,
})

Implementation

factory SignedWitness({
  SignedWitness_VerificationMethod? verificationMethod,
  $core.List<$core.int>? accountAgeWitnessHash,
  $core.List<$core.int>? signature,
  $core.List<$core.int>? signerPubKey,
  $core.List<$core.int>? witnessOwnerPubKey,
  $fixnum.Int64? date,
  $fixnum.Int64? tradeAmount,
}) {
  final $result = create();
  if (verificationMethod != null) {
    $result.verificationMethod = verificationMethod;
  }
  if (accountAgeWitnessHash != null) {
    $result.accountAgeWitnessHash = accountAgeWitnessHash;
  }
  if (signature != null) {
    $result.signature = signature;
  }
  if (signerPubKey != null) {
    $result.signerPubKey = signerPubKey;
  }
  if (witnessOwnerPubKey != null) {
    $result.witnessOwnerPubKey = witnessOwnerPubKey;
  }
  if (date != null) {
    $result.date = date;
  }
  if (tradeAmount != null) {
    $result.tradeAmount = tradeAmount;
  }
  return $result;
}