NumberFormatOptions constructor
NumberFormatOptions({
- String? localeMatcher,
- String? style,
- String? currency,
- String? currencySign,
- bool? useGrouping,
- num? minimumIntegerDigits,
- num? minimumFractionDigits,
- num? maximumFractionDigits,
- num? minimumSignificantDigits,
- num? maximumSignificantDigits,
- CompactDisplay? compactDisplay,
- Notation? notation,
- SignDisplay? signDisplay,
- String? unit,
- UnitDisplay? unitDisplay,
- 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,
);