toJson method
Implementation
Map<String, dynamic> toJson() {
final json = _$BaseMessageFetchParamsToJson(this);
if (replyType != null) {
json['include_reply_type'] = replyType?.name;
}
json['include_parent_message_info'] = includeParentMessageInfo;
json.removeWhere((key, value) => value == null);
return json;
}