Attempts toNum, returning null when parsing fails.
null
num? tryToNum() { try { return toNum(); } catch (_) { return null; } }