NumberParser constructor

NumberParser(
  1. NumberFormat format,
  2. String text
)

Create a new _NumberParser on which we can call parse().

Implementation

NumberParser(this.format, this.text) : input = IntlStream(text) {
  scale = format.multiplier;
  value = parse();
}