ConversationRetentionSettings.fromJson constructor

ConversationRetentionSettings.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ConversationRetentionSettings.fromJson(Map<String, dynamic> json) {
  return ConversationRetentionSettings(
    retentionDays: json['RetentionDays'] as int?,
  );
}