RoomRetentionSettings.fromJson constructor

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

Implementation

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