NumberFormat constructor Null safety
Create a number format that prints using newPattern
as it applies in
locale
.
Implementation
factory NumberFormat([String? newPattern, String? locale]) =>
NumberFormat._forPattern(locale, (x) => newPattern);