toIOEither<L> method

IOEither<L, T> toIOEither<L>(
  1. L onNull()
)

Convert a nullable type T? to IOEither.

Implementation

IOEither<L, T> toIOEither<L>(L Function() onNull) =>
    IOEither.fromNullable(this, onNull);