ResourceListData<T> class
This is used for showing what data has been added or updated in list
This is used in non paged lists like contactsList and walletsList
Constructors
-
ResourceListData({List<
T> ? items, List<T> ? addedItems, List<T> ? updatedItems})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
items
→ List<
T> -
This represents initial fetched data
final
-
newItems
→ List<
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
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited -
updatedItems
→ List<
T> -
When item is updated, it is also added in this list
final
Methods
-
copyWith(
{List< T> ? items, List<T> ? addedItems, List<T> ? updatedItems}) → ResourceListData<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