SignedWitness constructor
SignedWitness({})
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;
}