copyWith method
ClientProvidedEnhancedTransaction
copyWith({
- String? id,
- String? description,
- double? amount,
- String? isoCurrencyCode,
- Enhancements? enhancements,
Implementation
ClientProvidedEnhancedTransaction copyWith(
{String? id,
String? description,
double? amount,
String? isoCurrencyCode,
Enhancements? enhancements}) {
return ClientProvidedEnhancedTransaction(
id: id ?? this.id,
description: description ?? this.description,
amount: amount ?? this.amount,
isoCurrencyCode: isoCurrencyCode ?? this.isoCurrencyCode,
enhancements: enhancements ?? this.enhancements);
}