map2<C, D> method

  1. @override
Task<D> map2<C, D>(
  1. covariant Task<C> mc,
  2. D f(
    1. A a,
    2. C c

Change type of this Task based on its value of type A and the value of type C of another Task.


Task<D> map2<C, D>(covariant Task<C> mc, D Function(A a, C c) f) =>
    flatMap((a) => => f(a, c)));