Pagination.cursor constructor

const Pagination.cursor({
  1. required String startCursor,
  2. required String endCursor,
  3. required bool hasNextPage,
})

cursor based pagination

Implementation

const factory Pagination.cursor({
  required String startCursor,
  required String endCursor,
  required bool hasNextPage,
}) = CursorPagination;