DataCollectionLoadingState<T> class abstract

Inheritance

Constructors

DataCollectionLoadingState({required Iterable<T> originalData, required Iterable<T> data, required IMap<String, FilterAction<T>> filters, required IMap<String, MatchAction<T>> matchers, SortAction<T>? sort})
const
factory

Properties

copyWith → _$$DataCollectionLoadingStateImplCopyWith<T, _$DataCollectionLoadingStateImpl<T>>
no setter
data Iterable<T>
no setter
dataCount int
no setterinherited
filters → IMap<String, FilterAction<T>>
no setter
hasFilters bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasMatchers bool
no setterinherited
matchers → IMap<String, MatchAction<T>>
no setter
originalData Iterable<T>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sort SortAction<T>?
no setter

Methods

containsFilter(String key) bool
inherited
containsMatcher(String key) bool
inherited
map<TResult extends Object?>({required TResult initial(DataCollectionInitialState<T> value), required TResult loading(DataCollectionLoadingState<T> value), required TResult updated(DataCollectionUpdatedState<T> value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? initial(DataCollectionInitialState<T> value)?, TResult? loading(DataCollectionLoadingState<T> value)?, TResult? updated(DataCollectionUpdatedState<T> value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult initial(DataCollectionInitialState<T> value)?, TResult loading(DataCollectionLoadingState<T> value)?, TResult updated(DataCollectionUpdatedState<T> value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult initial(Iterable<T> originalData, Iterable<T> data, IMap<String, FilterAction<T>> filters, IMap<String, MatchAction<T>> matchers, SortAction<T>? sort)?, TResult loading(Iterable<T> originalData, Iterable<T> data, IMap<String, FilterAction<T>> filters, IMap<String, MatchAction<T>> matchers, SortAction<T>? sort)?, TResult updated(Iterable<T> originalData, Iterable<T> data, IMap<String, FilterAction<T>> filters, IMap<String, MatchAction<T>> matchers, SortAction<T>? sort)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult initial(Iterable<T> originalData, Iterable<T> data, IMap<String, FilterAction<T>> filters, IMap<String, MatchAction<T>> matchers, SortAction<T>? sort), required TResult loading(Iterable<T> originalData, Iterable<T> data, IMap<String, FilterAction<T>> filters, IMap<String, MatchAction<T>> matchers, SortAction<T>? sort), required TResult updated(Iterable<T> originalData, Iterable<T> data, IMap<String, FilterAction<T>> filters, IMap<String, MatchAction<T>> matchers, SortAction<T>? sort)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? initial(Iterable<T> originalData, Iterable<T> data, IMap<String, FilterAction<T>> filters, IMap<String, MatchAction<T>> matchers, SortAction<T>? sort)?, TResult? loading(Iterable<T> originalData, Iterable<T> data, IMap<String, FilterAction<T>> filters, IMap<String, MatchAction<T>> matchers, SortAction<T>? sort)?, TResult? updated(Iterable<T> originalData, Iterable<T> data, IMap<String, FilterAction<T>> filters, IMap<String, MatchAction<T>> matchers, SortAction<T>? sort)?}) → TResult?
inherited

Operators

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