copyWith abstract method
Creates a copy of this currency with optional overrides.
Example:
final usd = Currency.getInstance('USD');
final customUsd = usd.copyWith(symbol: 'US$');
Implementation
Currency copyWith({
String? currencyCode,
String? symbol,
int? defaultFractionDigits,
int? numericCode,
String? displayName,
});