Paginate.fromJson constructor
Implementation
Paginate.fromJson(Map<String, dynamic> json) {
totalRecords = json['total_records'];
totalPages = json['total_pages'];
startOffset = json['start_offset'];
endOffset = json['end_offset'];
currentPage = json['current_page'];
}