copyWith method
PluralRulesOptions
copyWith({
- Type? type,
- Digits? digits,
- RoundingMode? roundingMode,
- int? minimumIntegerDigits,
- TrailingZeroDisplay? trailingZeroDisplay,
- LocaleMatcher? localeMatcher,
Implementation
PluralRulesOptions copyWith({
Type? type,
Digits? digits,
RoundingMode? roundingMode,
int? minimumIntegerDigits,
TrailingZeroDisplay? trailingZeroDisplay,
LocaleMatcher? localeMatcher,
}) {
return PluralRulesOptions(
type: type ?? this.type,
digits: digits ?? this.digits,
roundingMode: roundingMode ?? this.roundingMode,
minimumIntegerDigits: minimumIntegerDigits ?? this.minimumIntegerDigits,
trailingZeroDisplay: trailingZeroDisplay ?? this.trailingZeroDisplay,
localeMatcher: localeMatcher ?? this.localeMatcher,
);
}