combineThree<R, F1, F2, F3> static method
Implementation
static CombinedFlow<R> combineThree<R, F1, F2, F3>(
Flow<F1> f1,
Flow<F2> f2,
Flow<F3> f3,
R Function(F1 a, F2 b, F3 c) combiner,
) {
listCombiner(List<dynamic> items) {
return combiner(
(items[0] as Flow<F1>).value,
(items[1] as Flow<F2>).value,
(items[2] as Flow<F3>).value,
);
}
return CombinedFlow<R>(
[f1, f2, f3],
listCombiner,
);
}