Pagination.fromMap constructor
Implementation
factory Pagination.fromMap(Map<String, dynamic> json) => Pagination(
totalItems: json["total_items"],
perPage: json["per_page"],
currentPage: json["currentPage"],
totalPages: json["totalPages"],
from: json["from"],
to: json["to"],
nextPage: json["next_page"],
previousPage: json["previous_page"],
);