Transaction_raw constructor

Transaction_raw({
  1. List<int>? refBlockBytes,
  2. Int64? refBlockNum,
  3. List<int>? refBlockHash,
  4. Int64? expiration,
  5. Iterable<authority>? auths,
  6. List<int>? data,
  7. Iterable<Transaction_Contract>? contract,
  8. List<int>? scripts,
  9. Int64? timestamp,
  10. 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;
}