NumberFormat.decimalPatternDigits constructor

NumberFormat.decimalPatternDigits({
  1. String? locale,
  2. int? decimalDigits,
})

Create a number format that prints as DECIMAL_PATTERN.

Implementation

factory NumberFormat.decimalPatternDigits(
        {String? locale, int? decimalDigits}) =>
    NumberFormat._forPattern(locale, (x) => x.DECIMAL_PATTERN,
        decimalDigits: decimalDigits);