toJson method
Implementation
Map<String, Object?> toJson() {
var addAttachment = this.addAttachment;
var addComment = this.addComment;
var addParticipant = this.addParticipant;
var removeParticipant = this.removeParticipant;
final json = <String, Object?>{};
if (addAttachment != null) {
json[r'addAttachment'] = addAttachment.toJson();
}
if (addComment != null) {
json[r'addComment'] = addComment.toJson();
}
if (addParticipant != null) {
json[r'addParticipant'] = addParticipant.toJson();
}
if (removeParticipant != null) {
json[r'removeParticipant'] = removeParticipant.toJson();
}
return json;
}