RetentionSettings.fromJson constructor
RetentionSettings.fromJson(
- Map<String, dynamic> json
)
Implementation
factory RetentionSettings.fromJson(Map<String, dynamic> json) {
return RetentionSettings(
conversationRetentionSettings:
json['ConversationRetentionSettings'] != null
? ConversationRetentionSettings.fromJson(
json['ConversationRetentionSettings'] as Map<String, dynamic>)
: null,
roomRetentionSettings: json['RoomRetentionSettings'] != null
? RoomRetentionSettings.fromJson(
json['RoomRetentionSettings'] as Map<String, dynamic>)
: null,
);
}