toJson method
Implementation
Map<String, dynamic> toJson() {
final conversationRetentionSettings = this.conversationRetentionSettings;
final roomRetentionSettings = this.roomRetentionSettings;
return {
if (conversationRetentionSettings != null)
'ConversationRetentionSettings': conversationRetentionSettings,
if (roomRetentionSettings != null)
'RoomRetentionSettings': roomRetentionSettings,
};
}