Transaction constructor
Transaction({})
Implementation
factory Transaction({
$fixnum.Int64? time,
$fixnum.Int64? expiration,
$core.double? gasRatio,
$core.double? gasLimit,
$fixnum.Int64? delay,
$core.int? chainId,
$core.Iterable<Action>? actions,
$core.Iterable<AmountLimit>? amountLimit,
$core.Iterable<$core.String>? signers,
$core.Iterable<Signature>? signatures,
$core.String? publisher,
$core.Iterable<Signature>? publisherSigs,
}) {
final $result = create();
if (time != null) {
$result.time = time;
}
if (expiration != null) {
$result.expiration = expiration;
}
if (gasRatio != null) {
$result.gasRatio = gasRatio;
}
if (gasLimit != null) {
$result.gasLimit = gasLimit;
}
if (delay != null) {
$result.delay = delay;
}
if (chainId != null) {
$result.chainId = chainId;
}
if (actions != null) {
$result.actions.addAll(actions);
}
if (amountLimit != null) {
$result.amountLimit.addAll(amountLimit);
}
if (signers != null) {
$result.signers.addAll(signers);
}
if (signatures != null) {
$result.signatures.addAll(signatures);
}
if (publisher != null) {
$result.publisher = publisher;
}
if (publisherSigs != null) {
$result.publisherSigs.addAll(publisherSigs);
}
return $result;
}