IOOption<R>.fromNullable constructor
IOOption<R>.fromNullable (
- R? r
If r is null, then return None.
Otherwise return Right(r).
Implementation
factory IOOption.fromNullable(R? r) => Option.fromNullable(r).toIOOption();