Transaction_raw constructor
Transaction_raw({ - List<int>? refBlockBytes,
- Int64? refBlockNum,
- List<int>? refBlockHash,
- Int64? expiration,
- Iterable<authority>? auths,
- List<int>? data,
- Iterable<Transaction_Contract>? contract,
- List<int>? scripts,
- Int64? timestamp,
- Int64? feeLimit,
})
Implementation
factory Transaction_raw({
$core.List<$core.int>? refBlockBytes,
$fixnum.Int64? refBlockNum,
$core.List<$core.int>? refBlockHash,
$fixnum.Int64? expiration,
$core.Iterable<authority>? auths,
$core.List<$core.int>? data,
$core.Iterable<Transaction_Contract>? contract,
$core.List<$core.int>? scripts,
$fixnum.Int64? timestamp,
$fixnum.Int64? feeLimit,
}) {
final $result = create();
if (refBlockBytes != null) {
$result.refBlockBytes = refBlockBytes;
}
if (refBlockNum != null) {
$result.refBlockNum = refBlockNum;
}
if (refBlockHash != null) {
$result.refBlockHash = refBlockHash;
}
if (expiration != null) {
$result.expiration = expiration;
}
if (auths != null) {
$result.auths.addAll(auths);
}
if (data != null) {
$result.data = data;
}
if (contract != null) {
$result.contract.addAll(contract);
}
if (scripts != null) {
$result.scripts = scripts;
}
if (timestamp != null) {
$result.timestamp = timestamp;
}
if (feeLimit != null) {
$result.feeLimit = feeLimit;
}
return $result;
}