Convert a nullable type T? to IOEither.
T?
IOEither<L, T> toIOEither<L>(L Function() onNull) => IOEither.fromNullable(this, onNull);