NumberFormat constructor

NumberFormat([String newPattern, String locale ])

Create a number format that prints using newPattern as it applies in locale.

Implementation

factory NumberFormat([String newPattern, String locale]) =>
    new NumberFormat._forPattern(locale, (x) => newPattern);