parseWith<R, P extends NumberParserBase<R>> method

  1. @override
R parseWith<R, P extends NumberParserBase<R>>(
  1. P parserGenerator(
    1. NumberFormat p1,
    2. String p2
    ),
  2. String text
)

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

@override
R parseWith<R, P extends NumberParserBase<R>>(
        P Function(NumberFormat p1, String p2) parserGenerator,
        String text) =>
    _scientific.parseWith(parserGenerator, _normalizeText(text));