parseWith<R, P extends NumberParserBase<R> > method
Parse the number represented by the string using the parser created by the supplied parser generator. If it's not parseable, throws a FormatException.
Implementation
R parseWith<R, P extends NumberParserBase<R>>(
P Function(NumberFormat, String) parserGenerator, String text) =>
parserGenerator(this, text).value!;