ResolvedNumberFormatOptions constructor

ResolvedNumberFormatOptions({
  1. String? locale,
  2. String? numberingSystem,
  3. String? style,
  4. String? currency,
  5. num? minimumIntegerDigits,
  6. num? minimumFractionDigits,
  7. num? maximumFractionDigits,
  8. num? minimumSignificantDigits,
  9. num? maximumSignificantDigits,
  10. bool? useGrouping,
  11. CompactDisplayOptions? compactDisplay,
  12. NotationOptions? notation,
  13. SignDisplayOptions? signDisplay,
  14. String? unit,
  15. UnitDisplayOptions? unitDisplay,
  16. String? currencyDisplay,
  17. String? currencySign,
})

Implementation

factory ResolvedNumberFormatOptions({
  _i2.String? locale,
  _i2.String? numberingSystem,
  _i2.String? style,
  _i2.String? currency,
  _i2.num? minimumIntegerDigits,
  _i2.num? minimumFractionDigits,
  _i2.num? maximumFractionDigits,
  _i2.num? minimumSignificantDigits,
  _i2.num? maximumSignificantDigits,
  _i2.bool? useGrouping,
  _i3.CompactDisplayOptions? compactDisplay,
  _i3.NotationOptions? notation,
  _i3.SignDisplayOptions? signDisplay,
  _i2.String? unit,
  _i3.UnitDisplayOptions? unitDisplay,
  _i2.String? currencyDisplay,
  _i2.String? currencySign,
}) =>
    ResolvedNumberFormatOptions._(
      locale: locale,
      numberingSystem: numberingSystem,
      style: style,
      currency: currency,
      minimumIntegerDigits: minimumIntegerDigits,
      minimumFractionDigits: minimumFractionDigits,
      maximumFractionDigits: maximumFractionDigits,
      minimumSignificantDigits: minimumSignificantDigits,
      maximumSignificantDigits: maximumSignificantDigits,
      useGrouping: useGrouping,
      compactDisplay: compactDisplay?.name ?? _i4.undefined,
      notation: notation?.name ?? _i4.undefined,
      signDisplay: signDisplay?.name ?? _i4.undefined,
      unit: unit,
      unitDisplay: unitDisplay?.name ?? _i4.undefined,
      currencyDisplay: currencyDisplay,
      currencySign: currencySign,
    );