toNum method

num toNum()

Converts the string to a number.

Implementation

num toNum() => num.parse(this);