map3<C, D, E> method

  1. @override
IOOption<E> map3<C, D, E>(
  1. covariant IOOption<C> m1,
  2. covariant IOOption<D> m2,
  3. E f(
    1. R b,
    2. C c,
    3. D d
    )
)
override

Change the return type of this IOOption based on its value of type R, the value of type C of a second IOOption, and the value of type D of a third IOOption.

Implementation

@override
IOOption<E> map3<C, D, E>(covariant IOOption<C> m1, covariant IOOption<D> m2,
        E Function(R b, C c, D d) f) =>
    flatMap((b) => m1.flatMap((c) => m2.map((d) => f(b, c, d))));