DistributionConfigurationSummary.fromJson constructor
DistributionConfigurationSummary.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DistributionConfigurationSummary.fromJson(Map<String, dynamic> json) {
return DistributionConfigurationSummary(
arn: json['arn'] as String?,
dateCreated: json['dateCreated'] as String?,
dateUpdated: json['dateUpdated'] as String?,
description: json['description'] as String?,
name: json['name'] as String?,
regions: (json['regions'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
tags: (json['tags'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
);
}