reduce<C, P1, P2, P3, P4, P5> static method
ChildPod<dynamic, C>
reduce<C, P1, P2, P3, P4, P5>(
- TResponderFn5<
P1, P2, P3, P4, P5> responder, - TNullableReducerFn5<
C, P1, P2, P3, P4, P5> reducer
Reduces 5 Pods into a ChildPod.
Implementation
static ChildPod<dynamic, C> reduce<C, P1, P2, P3, P4, P5>(
TResponderFn5<P1, P2, P3, P4, P5> responder,
TNullableReducerFn5<C, P1, P2, P3, P4, P5> reducer,
) {
return ChildPod<dynamic, C>._(
responder: () => _toList(responder),
reducer: (_) => _reduce(responder, reducer),
);
}