Pagination<T, C, K> constructor

Pagination<T, C, K>({
  1. int perPage = 50,
  2. required PageProvider<T, C, K> provider,
  3. required K onKey(
    1. T
    ),
  4. int compare(
    1. T,
    2. T
    )?,
  5. bool fulfilled(
    1. Iterable<T>
    ) = _returnsTrue,
})

Implementation

Pagination({
  this.perPage = 50,
  required this.provider,
  required this.onKey,
  this.compare,
  this.fulfilled = _returnsTrue,
});