copyWith method
Implementation
CurrencyModel copyWith({
String? currencyName,
String? currencyCode,
int? subUnit,
String? symbol,
dynamic decimalSeparator,
dynamic decimalPlaces,
String? thousandSeparator,
double? exchange,
int? available,
}) =>
CurrencyModel(
currencyName: currencyName ?? this.currencyName,
currencyCode: currencyCode ?? this.currencyCode,
subUnit: subUnit ?? this.subUnit,
symbol: symbol ?? this.symbol,
decimalSeparator: decimalSeparator ?? this.decimalSeparator,
decimalPlaces: decimalPlaces ?? this.decimalPlaces,
thousandSeparator: thousandSeparator ?? this.thousandSeparator,
exchange: exchange ?? this.exchange,
available: available ?? this.available,
);