ItemsResponse<T> class

The Return type required for LazyLoadingProvider.fetchItems

When we load items for a page, the response contains list of items, that with that items this ItemResponse object is created

Constructors

ItemsResponse({required List<T> items, required int totalPages})

Properties

hashCode int
The hash code for this object.
no setterinherited
items List<T>
list of items
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalPages int
total number of pages available to fetch
getter/setter pair

Methods

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