DataCollectionState<T> class abstract

Base class for all data collection states. Provides common functionality for data management and filtering.

Implementers

Constructors

DataCollectionState({required Iterable<T> originalData, required Iterable<T> data, Map<String, FilterAction<T>>? filters, Map<String, MatchAction<T>>? matchers, SortAction<T>? sort})
Base class for all data collection states. Provides common functionality for data management and filtering.

Properties

data Iterable<T>
final
dataCount int
no setter
filters Map<String, FilterAction<T>>
final
hasFilters bool
no setter
hashCode int
The hash code for this object.
no setteroverride
hasMatchers bool
no setter
matchers Map<String, MatchAction<T>>
final
originalData Iterable<T>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sort SortAction<T>?
final

Methods

containsFilter(String key) bool
containsMatcher(String key) bool
copyWith({Iterable<T>? originalData, Iterable<T>? data, Map<String, FilterAction<T>>? filters, Map<String, MatchAction<T>>? matchers, SortAction<T>? sort}) DataCollectionState<T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

initial<T>({required Iterable<T> originalData, required Iterable<T> data, Map<String, FilterAction<T>>? filters, Map<String, MatchAction<T>>? matchers, SortAction<T>? sort}) DataCollectionState<T>
Creates initial state with default values