ResolvedPluralRulesOptions constructor

ResolvedPluralRulesOptions({
  1. String? locale,
  2. List<LDMLPluralRule>? pluralCategories,
  3. PluralRuleType? type,
  4. num? minimumIntegerDigits,
  5. num? minimumFractionDigits,
  6. num? maximumFractionDigits,
  7. num? minimumSignificantDigits,
  8. 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,
    );