parse method

num parse(
  1. String text
)

Parse the number represented by the string. If it's not parseable, throws a FormatException.

Implementation

num parse(String text) => parseWith(NumberParser.new, text);