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