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