tryToNum method

num? tryToNum()

tries to convert string to num

Implementation

num? tryToNum() => num.tryParse(trim()) ?? _tryIntFromCardinal();