copyWith method
Implementation
HistoricalBalance copyWith(
{DateTime? date,
double? current,
String? isoCurrencyCode,
String? unofficialCurrencyCode}) {
return HistoricalBalance(
date: date ?? this.date,
current: current ?? this.current,
isoCurrencyCode: isoCurrencyCode ?? this.isoCurrencyCode,
unofficialCurrencyCode:
unofficialCurrencyCode ?? this.unofficialCurrencyCode);
}