withTypeArguments method

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

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

Implementation

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