AwsCloudFrontDistributionOriginItem.fromJson constructor
AwsCloudFrontDistributionOriginItem.fromJson(
- Map<String, dynamic> json
)
Implementation
factory AwsCloudFrontDistributionOriginItem.fromJson(
Map<String, dynamic> json) {
return AwsCloudFrontDistributionOriginItem(
domainName: json['DomainName'] as String?,
id: json['Id'] as String?,
originPath: json['OriginPath'] as String?,
s3OriginConfig: json['S3OriginConfig'] != null
? AwsCloudFrontDistributionOriginS3OriginConfig.fromJson(
json['S3OriginConfig'] as Map<String, dynamic>)
: null,
);
}