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