copyWith method
Implementation
AccountBalance copyWith(
{double? available,
double? current,
double? limit,
String? isoCurrencyCode,
String? unofficialCurrencyCode,
DateTime? lastUpdatedDatetime}) {
return AccountBalance(
available: available ?? this.available,
current: current ?? this.current,
limit: limit ?? this.limit,
isoCurrencyCode: isoCurrencyCode ?? this.isoCurrencyCode,
unofficialCurrencyCode:
unofficialCurrencyCode ?? this.unofficialCurrencyCode,
lastUpdatedDatetime: lastUpdatedDatetime ?? this.lastUpdatedDatetime);
}