copyWith method

TransactionRaw copyWith({
  1. List<int>? refBlockBytes,
  2. BigInt? refBlockNum,
  3. List<int>? refBlockHash,
  4. BigInt? expiration,
  5. List<Authority>? auths,
  6. List<int>? data,
  7. List<TransactionContract>? contract,
  8. List<int>? scripts,
  9. BigInt? timestamp,
  10. BigInt? feeLimit,
})

Implementation

TransactionRaw copyWith({
  List<int>? refBlockBytes,
  BigInt? refBlockNum,
  List<int>? refBlockHash,
  BigInt? expiration,
  List<Authority>? auths,
  List<int>? data,
  List<TransactionContract>? contract,
  List<int>? scripts,
  BigInt? timestamp,
  BigInt? feeLimit,
}) {
  return TransactionRaw(
    refBlockBytes: refBlockBytes ?? this.refBlockBytes,
    refBlockNum: refBlockNum ?? this.refBlockNum,
    refBlockHash: refBlockHash ?? this.refBlockHash,
    expiration: expiration ?? this.expiration,
    auths: auths ?? this.auths,
    data: data ?? this.data,
    contract: contract ?? this.contract,
    scripts: scripts ?? this.scripts,
    timestamp: timestamp ?? this.timestamp,
    feeLimit: feeLimit ?? this.feeLimit,
  );
}