combineLatest<R> method

CombineLatestNotifier<T, R> combineLatest<R>(
  1. ResultListenable<T> other, {
  2. required R combineData(
    1. List<T> data
    ),
})

Creates a new CombineLatestNotifier that that combines the value of this notifier with another one.

Implementation

CombineLatestNotifier<T, R> combineLatest<R>(
  ResultListenable<T> other, {
  required R Function(List<T> data) combineData,
}) {
  return CombineLatestNotifier([this, other], combineData: combineData);
}