PagedState<T> class

Constructors

PagedState({PagedStatus status = PagedStatus.initial, String? message, RefreshStatus refreshStatus = RefreshStatus.initial, List<FireData<T>>? items, List<FireData<T>>? addedItems, List<FireData<T>>? updatedItems, int? updatedAt})

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, the toString method will be overridden to output this instance's props.
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<T>>? items, String? message, RefreshStatus? refreshStatus, List<FireData<T>>? addedItems, List<FireData<T>>? updatedItems, int? updatedAt}) PagedState<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