DescribeRetentionConfigurationsResponse.fromJson constructor
DescribeRetentionConfigurationsResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DescribeRetentionConfigurationsResponse.fromJson(
Map<String, dynamic> json) {
return DescribeRetentionConfigurationsResponse(
nextToken: json['NextToken'] as String?,
retentionConfigurations: (json['RetentionConfigurations'] as List?)
?.whereNotNull()
.map(
(e) => RetentionConfiguration.fromJson(e as Map<String, dynamic>))
.toList(),
);
}