withTypeArguments method

R Function(U0, U1) withTypeArguments(
  1. RuntimeType<T0> t0,
  2. RuntimeType<T1> t1,
  3. RuntimeType<T2> t2
)

Return this function with its type parameters replaced by t0...tn.

Implementation

R Function(U0, U1) withTypeArguments(
        RuntimeType<T0> t0, RuntimeType<T1> t1, RuntimeType<T2> t2) =>
    t2.run(<S2>() => t1.run(<S1>() => t0.run(<S0>() => this<S0, S1, S2>)));