getPagination method

Pagination? getPagination(
  1. Page page
)

Implementation

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