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