NumberFormat.decimalPattern constructor Null safety

NumberFormat.decimalPattern(
  1. [String? locale]
)

Create a number format that prints as DECIMAL_PATTERN.

Implementation

factory NumberFormat.decimalPattern([String? locale]) =>
    NumberFormat._forPattern(locale, (x) => x.DECIMAL_PATTERN);