copyWith method
UTXOTransaction
copyWith({ - int? block,
- Amount? fee,
- String? hash,
- int? timeMilli,
- Amount? amount,
- String? sender,
- String? recipient,
- CoinEntity? token,
- TransactionTransferMethod? transferMethod,
- int? confirmations,
- List<ElectrumInput>? inputs,
- List<ElectrumOutput>? outputs,
- String? id,
- int? version,
- ConfirmationStatus? status,
})
Implementation
UTXOTransaction copyWith({
int? block,
Amount? fee,
String? hash,
int? timeMilli,
Amount? amount,
String? sender,
String? recipient,
CoinEntity? token,
TransactionTransferMethod? transferMethod,
int? confirmations,
List<ElectrumInput>? inputs,
List<ElectrumOutput>? outputs,
String? id,
int? version,
ConfirmationStatus? status,
}) {
return UTXOTransaction(
block: block ?? this.block,
fee: fee ?? this.fee,
hash: hash ?? this.hash,
timeMilli: timeMilli ?? this.timeMilli,
amount: amount ?? this.amount,
sender: sender ?? this.sender,
recipient: recipient ?? this.recipient,
token: token ?? this.token,
transferMethod: transferMethod ?? this.transferMethod,
confirmations: confirmations ?? this.confirmations,
inputs: inputs ?? this.inputs,
outputs: outputs ?? this.outputs,
id: id ?? this.id,
version: version ?? this.version,
status: status ?? this.status,
);
}