ResolvedNumberFormatOptions constructor
ResolvedNumberFormatOptions({
- String? locale,
- String? numberingSystem,
- String? style,
- String? currency,
- num? minimumIntegerDigits,
- num? minimumFractionDigits,
- num? maximumFractionDigits,
- num? minimumSignificantDigits,
- num? maximumSignificantDigits,
- bool? useGrouping,
- CompactDisplayOptions? compactDisplay,
- NotationOptions? notation,
- SignDisplayOptions? signDisplay,
- String? unit,
- UnitDisplayOptions? unitDisplay,
- String? currencyDisplay,
- 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,
);