withTypeArguments method
R Function(U0)
withTypeArguments(
- RuntimeType<
T0> t0, - RuntimeType<
T1> t1, - RuntimeType<
T2> t2, - RuntimeType<
T3> t3, - RuntimeType<
T4> t4,
Return this function with its type parameters replaced by t0
...tn
.
Implementation
R Function(U0) withTypeArguments(RuntimeType<T0> t0, RuntimeType<T1> t1, RuntimeType<T2> t2,
RuntimeType<T3> t3, RuntimeType<T4> t4) =>
t4.run(<S4>() => t3.run(<S3>() =>
t2.run(<S2>() => t1.run(<S1>() => t0.run(<S0>() => this<S0, S1, S2, S3, S4>)))));