copyWith method

TransactionParams copyWith({
  1. String? consensusVersion,
  2. BigInt? fee,
  3. String? genesisId,
  4. Uint8List? genesisHash,
  5. BigInt? lastRound,
  6. BigInt? minFee,
})

Implementation

TransactionParams copyWith({
  String? consensusVersion,
  BigInt? fee,
  String? genesisId,
  Uint8List? genesisHash,
  BigInt? lastRound,
  BigInt? minFee,
}) {
  return TransactionParams(
    consensusVersion: consensusVersion ?? this.consensusVersion,
    fee: fee ?? this.fee,
    genesisId: genesisId ?? this.genesisId,
    genesisHash: genesisHash ?? this.genesisHash,
    lastRound: lastRound ?? this.lastRound,
    minFee: minFee ?? this.minFee,
  );
}