toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
_json[r'channel_id'] = channelId;
_json[r'message'] = message;
if (rootId != null) {
_json[r'root_id'] = rootId;
}
_json[r'file_ids'] = fileIds;
if (props != null) {
_json[r'props'] = props;
}
return _json;
}