LoadNextPageDirectedEvent class

Triggers the loading of the next page of records.

Usually used together with the KeysetPagination or OffsetPagination mixins and used to call the KeysetPagination.loadNextPage or OffsetPagination.loadPage functions respectively. It is used for handling lists that have two or more directions of records to load.

Inheritance
Annotations
  • @immutable

Constructors

LoadNextPageDirectedEvent.new({required LoadingKey loadingKey})
Creates a new LoadNextPageDirectedEvent.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
loadingKey LoadingKey
Key identifying the load for the direction.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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