NumberFormat.decimalPercentPattern constructor

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

Create a number format that prints as PERCENT_PATTERN.

Implementation

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