copyWith method
Implementation
Currency copyWith({
String? code,
String? name,
String? symbol,
Country? country,
List<Country>? countries,
}) {
return Currency(
code: code ?? this.code,
name: name ?? this.name,
symbol: symbol ?? this.symbol,
country: country ?? this.country,
countries: countries ?? this.countries,
);
}