converts to num. Uses tryToNum and ultimately throws error from num.parse if invalid
num toNum() => tryToNum() ?? num.parse(trim());