toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'totalItems'] = this.totalItems;
    json[r'currentPage'] = this.currentPage;
    json[r'perPage'] = this.perPage;
    json[r'totalPages'] = this.totalPages;
  return json;
}