toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "content": content.map((e) => e.toJson()).toList(),
      "totalPages": totalPages,
    };