copyWith method
CurrencyOfCountry
copyWith(
{ - String? symbol,
- String? thousandSeparator,
- String? decimalSeparator,
- int? decimalPlaces,
- int? symbolPosition,
- String? symbolForBillion,
- String? symbolForMillion,
- String? symbolForThousands,
- int? subUnit,
- String? currencyName,
- String? currencyCode,
})
Implementation
CurrencyOfCountry copyWith({
String? symbol,
String? thousandSeparator,
String? decimalSeparator,
int? decimalPlaces,
int? symbolPosition,
String? symbolForBillion,
String? symbolForMillion,
String? symbolForThousands,
int? subUnit,
String? currencyName,
String? currencyCode,
}) =>
CurrencyOfCountry(
symbol: symbol ?? this.symbol,
thousandSeparator: thousandSeparator ?? this.thousandSeparator,
decimalSeparator: decimalSeparator ?? this.decimalSeparator,
decimalPlaces: decimalPlaces ?? this.decimalPlaces,
symbolPosition: symbolPosition ?? this.symbolPosition,
symbolForBillion: symbolForBillion ?? this.symbolForBillion,
symbolForMillion: symbolForMillion ?? this.symbolForMillion,
symbolForThousands: symbolForThousands ?? this.symbolForThousands,
subUnit: subUnit ?? this.subUnit,
currencyName: currencyName ?? this.currencyName,
currencyCode: currencyCode ?? this.currencyCode,
);