getPagination method

Pagination? getPagination(
  1. Page page
)

Implementation

Pagination? getPagination(Page page) {
  if (hasPagination()) {
    return page.page[Pointer.fromJson(models?['pagination'])?.getReference()] as Pagination?;
  }
  return null;
}