copyWith method
DataCollectionState<T>
copyWith({
- Iterable<
T> ? originalData, - Iterable<
T> ? data, - Map<
String, FilterAction< ? filters,T> > - Map<
String, MatchAction< ? matchers,T> > - SortAction<
T> ? sort,
override
Implementation
@override
DataCollectionState<T> copyWith({
Iterable<T>? originalData,
Iterable<T>? data,
Map<String, FilterAction<T>>? filters,
Map<String, MatchAction<T>>? matchers,
SortAction<T>? sort,
}) =>
DataCollectionLoadingState(
originalData: originalData ?? this.originalData,
data: data ?? this.data,
filters: filters ?? this.filters,
matchers: matchers ?? this.matchers,
sort: sort ?? this.sort,
);