Paginator<T> class abstract interface

Определяет интерфейс для реализации пагинации. Задаёт методы для загрузки следующей страницы, сброса состояния и освобождения ресурсов.

Implementers

Properties

canLoadNextPage bool
Проверяет, возможно ли загрузить следующую страницу.
no setter
data List<T>
Возвращает все накопленные данные.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Освобождает ресурсы, используемые пагинатором.
loadNextPage(PaginatorCallback<T> action) Future<List<T>>
Загружает следующую страницу данных.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() Future<void>
Сбрасывает текущее состояние пагинации.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited