ResolvedPluralRulesOptions constructor
ResolvedPluralRulesOptions({
- String? locale,
- List<
LDMLPluralRule> ? pluralCategories, - PluralRuleType? type,
- num? minimumIntegerDigits,
- num? minimumFractionDigits,
- num? maximumFractionDigits,
- num? minimumSignificantDigits,
- num? maximumSignificantDigits,
Implementation
factory ResolvedPluralRulesOptions({
_i2.String? locale,
_i2.List<_i3.LDMLPluralRule>? pluralCategories,
_i3.PluralRuleType? type,
_i2.num? minimumIntegerDigits,
_i2.num? minimumFractionDigits,
_i2.num? maximumFractionDigits,
_i2.num? minimumSignificantDigits,
_i2.num? maximumSignificantDigits,
}) =>
ResolvedPluralRulesOptions._(
locale: locale,
pluralCategories: pluralCategories?.map((i) => i.name).toList(),
type: type?.name ?? _i4.undefined,
minimumIntegerDigits: minimumIntegerDigits,
minimumFractionDigits: minimumFractionDigits,
maximumFractionDigits: maximumFractionDigits,
minimumSignificantDigits: minimumSignificantDigits,
maximumSignificantDigits: maximumSignificantDigits,
);