dryRunState method
DataCollectionUpdatedState<T>
dryRunState({
- Set<
MatchAction< ? newMatchers,T> > - Set<
FilterAction< ? newFilters,T> > - SortAction<
T> ? newSort, - DataCollectionSortResetMode? resetSort,
Implementation
DataCollectionUpdatedState<T> dryRunState({
Set<MatchAction<T>>? newMatchers,
Set<FilterAction<T>>? newFilters,
SortAction<T>? newSort,
DataCollectionSortResetMode? resetSort,
}) =>
_chainProcessData(
useOriginalData: true,
newMatchers: newMatchers != null
? IMap.fromEntries(newMatchers.map((e) => MapEntry(e.key, e)))
: null,
newFilters: newFilters != null
? IMap.fromEntries(newFilters.map((e) => MapEntry(e.key, e)))
: null,
newSort: newSort ?? _getSortToApply(resetSort),
);