toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (messageDeletionEnabled != null) {
_json[r'message_deletion_enabled'] = messageDeletionEnabled;
}
if (fileDeletionEnabled != null) {
_json[r'file_deletion_enabled'] = fileDeletionEnabled;
}
if (messageRetentionCutoff != null) {
_json[r'message_retention_cutoff'] = messageRetentionCutoff;
}
if (fileRetentionCutoff != null) {
_json[r'file_retention_cutoff'] = fileRetentionCutoff;
}
return _json;
}