copyWith method
ClientProvidedTransaction
copyWith({
- String? id,
- String? description,
- double? amount,
- EnrichTransactionDirection? direction,
- String? isoCurrencyCode,
Implementation
ClientProvidedTransaction copyWith(
{String? id,
String? description,
double? amount,
enums.EnrichTransactionDirection? direction,
String? isoCurrencyCode}) {
return ClientProvidedTransaction(
id: id ?? this.id,
description: description ?? this.description,
amount: amount ?? this.amount,
direction: direction ?? this.direction,
isoCurrencyCode: isoCurrencyCode ?? this.isoCurrencyCode);
}