PagedState<T> class
Constructors
-
PagedState({PagedStatus status = PagedStatus.initial, String? message, RefreshStatus refreshStatus = RefreshStatus.initial, List<
FireData< ? items, List<T> >FireData< ? addedItems, List<T> >FireData< ? updatedItems, int? updatedAt})T> >
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
items
→ List<
FireData< T> > -
final
- message → String?
-
final
-
newItems
→ List<
FireData< T> > -
New items from subscription/Mutation
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- refreshStatus → RefreshStatus
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → PagedStatus
-
final
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited - updatedAt → int?
-
final
-
updatedItems
→ List<
FireData< T> > -
When item is updated, it is also added in this list
final
Methods
-
copyWith(
{PagedStatus? status, List< FireData< ? items, String? message, RefreshStatus? refreshStatus, List<T> >FireData< ? addedItems, List<T> >FireData< ? updatedItems, int? updatedAt}) → PagedState<T> >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.
inherited