Pagination.fromJson constructor

Pagination.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Pagination.fromJson(Map<String, dynamic> json) {
  return Pagination(
      totalItems: json['totalItems'],
      lastReturnedItem: json['lastReturnedItem']);
}