Convert this String to num, returns the result of onLeft for invalid inputs.
onLeft
Either<L, num> toNumEither<L>(L Function() onLeft) => Either.fromNullable(num.tryParse(this), onLeft);