combineState2<B, Z> method
Stream<LoadingState<Z> >
combineState2<B, Z>(
- Stream<
LoadingState< stateStream2,B> > - Z transform(
- A rawContent1,
- B rawContent2
Implementation
Stream<LoadingState<Z>> combineState2<B, Z>(Stream<LoadingState<B>> stateStream2, Z Function(A rawContent1, B rawContent2) transform) {
return CombineLatestStream.combine2(this, stateStream2, (LoadingState<A> state1, LoadingState<B> state2) => state1.zip2(state2, transform));
}