toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final map = <String, dynamic>{};
  map['page'] = page;
  map['pages'] = pages;
  map['total'] = total;
  return map;
}