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