combineWith2<B, C> method
Implementation
FutureValue<(A, B, C)> combineWith2<B, C>(
FutureValue<B> one,
FutureValue<C> two,
) =>
combineWith(one).combineWith(two).when(
data: (t) => FutureValue.data((
t.$1.$1,
t.$1.$2,
t.$2,
)),
error: (error, stackTrace) => FutureValue.error(error, stackTrace),
loading: (t) => FutureValue.loading(
t != null
? (
t.$1.$1,
t.$1.$2,
t.$2,
)
: null,
),
);