Pagination.fromJson constructor
Implementation
Pagination.fromJson(Map<String, dynamic> json) {
// print('pagination => $json');
_total = json['total'];
_lastPage = json['lastPage'];
_perPage = json['perPage'];
_currentPage = json['currentPage'];
/*if (json['items'] != null) {
_items = _ToListandMap(jsonEncode(json['items']));
}*/
}