copyWith method

CurrencyOfCountry copyWith({
  1. String? symbol,
  2. String? thousandSeparator,
  3. String? decimalSeparator,
  4. int? decimalPlaces,
  5. int? symbolPosition,
  6. String? symbolForBillion,
  7. String? symbolForMillion,
  8. String? symbolForThousands,
  9. int? subUnit,
  10. String? currencyName,
  11. 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,
    );