NumberFormatOptions constructor

NumberFormatOptions({
  1. String? localeMatcher,
  2. String? style,
  3. String? currency,
  4. String? currencySign,
  5. bool? useGrouping,
  6. num? minimumIntegerDigits,
  7. num? minimumFractionDigits,
  8. num? maximumFractionDigits,
  9. num? minimumSignificantDigits,
  10. num? maximumSignificantDigits,
  11. CompactDisplay? compactDisplay,
  12. Notation? notation,
  13. SignDisplay? signDisplay,
  14. String? unit,
  15. UnitDisplay? unitDisplay,
  16. String? currencyDisplay,
})

Implementation

factory NumberFormatOptions({
  _i2.String? localeMatcher,
  _i2.String? style,
  _i2.String? currency,
  _i2.String? currencySign,
  _i2.bool? useGrouping,
  _i2.num? minimumIntegerDigits,
  _i2.num? minimumFractionDigits,
  _i2.num? maximumFractionDigits,
  _i2.num? minimumSignificantDigits,
  _i2.num? maximumSignificantDigits,
  _i3.CompactDisplay? compactDisplay,
  _i3.Notation? notation,
  _i3.SignDisplay? signDisplay,
  _i2.String? unit,
  _i3.UnitDisplay? unitDisplay,
  _i2.String? currencyDisplay,
}) =>
    NumberFormatOptions._(
      localeMatcher: localeMatcher ?? _i4.undefined,
      style: style ?? _i4.undefined,
      currency: currency ?? _i4.undefined,
      currencySign: currencySign ?? _i4.undefined,
      useGrouping: useGrouping ?? _i4.undefined,
      minimumIntegerDigits: minimumIntegerDigits ?? _i4.undefined,
      minimumFractionDigits: minimumFractionDigits ?? _i4.undefined,
      maximumFractionDigits: maximumFractionDigits ?? _i4.undefined,
      minimumSignificantDigits: minimumSignificantDigits ?? _i4.undefined,
      maximumSignificantDigits: maximumSignificantDigits ?? _i4.undefined,
      compactDisplay: compactDisplay?.name ?? _i4.undefined,
      notation: notation?.name ?? _i4.undefined,
      signDisplay: signDisplay?.name ?? _i4.undefined,
      unit: unit ?? _i4.undefined,
      unitDisplay: unitDisplay?.name ?? _i4.undefined,
      currencyDisplay: currencyDisplay ?? _i4.undefined,
    );