RetentionConfiguration.fromJson constructor

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

Implementation

factory RetentionConfiguration.fromJson(Map<String, dynamic> json) {
  return RetentionConfiguration(
    name: json['Name'] as String,
    retentionPeriodInDays: json['RetentionPeriodInDays'] as int,
  );
}