toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['totalCount'] = totalCount;
  data["searchCursor"] = searchCursor;
  if (messageSearchResultItems != null) {
    data['messageSearchResultItems'] = messageSearchResultItems?.map((v) => v.toJson()).toList();
  }
  return data;
}