IOOption<R>.of constructor

IOOption<R>.of(
  1. R r
)

Build a IOOption that returns a Some(r).

Same of IOOption.some.

Implementation

factory IOOption.of(R r) => IOOption(() => Option.of(r));