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