MultiDataState<TFailure, TData> class

Inheritance

Constructors

MultiDataState({required DataStatus status, required Option<TFailure> failure, required int? length, required Option<BuiltMap<int, TData>> allData})

Properties

allData → BuiltMap<int, TData>
no setter
data → BuiltList<TData>
no setterinherited
failure → TFailure
no setterinherited
hasAllData bool
no setter
hasData bool
no setterinherited
hasFailure bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isFull bool
no setter
length int?
final
notHasAllData bool
no setter
notHasData bool
no setterinherited
notHasFailure bool
no setterinherited
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
latefinalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status DataStatus
finalinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
tryAllData → BuiltMap<int, TData>?
no setter
tryData → BuiltList<TData>?
no setterinherited
tryFailure → TFailure?
no setterinherited

Methods

contains(PageOffset offset) bool
copyWith({DataStatus? status, Option<TFailure>? failure, Option<BuiltMap<int, TData>>? allData, int? length}) MultiDataState<TFailure, TData>
override
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.
inherited