IOOption<R>.of constructor
IOOption<R>.of (
- R r
Build a IOOption that returns a Some(r)
.
Same of IOOption.some
.
Implementation
factory IOOption.of(R r) => IOOption(() => Option.of(r));
Build a IOOption that returns a Some(r)
.
Same of IOOption.some
.
factory IOOption.of(R r) => IOOption(() => Option.of(r));