toJson method
Implementation
Map<String, dynamic> toJson() {
return <String, dynamic>{
if (body != null) r'body': body,
if (file != null) r'file': file,
if (permission != null) r'permission': permission,
if (text != null) r'text': text,
if (tags != null) r'tags': tags,
};
}