map3<C, D, E> method

  1. @override
StateAsync<S, E> map3<C, D, E>(
  1. covariant StateAsync<S, C> m1,
  2. covariant StateAsync<S, D> m2,
  3. E f(
    1. A a,
    2. C c,
    3. D d

Change type of this StateAsync based on its value of type A, the value of type C of a second StateAsync, and the value of type D of a third StateAsync.


StateAsync<S, E> map3<C, D, E>(covariant StateAsync<S, C> m1,
        covariant StateAsync<S, D> m2, E Function(A a, C c, D d) f) =>
    flatMap((a) => m1.flatMap((c) => => f(a, c, d))));