toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => <String, dynamic>{
      'content': threadList!.map((item) => item.toJson()).toList(),
      'totalPages': totalPages,
      'totalElements': totalElements,
      'last': last,
      'numberOfElements': numberOfElements,
      'first': first,
      'empty': empty,
    };