AwsCloudFrontDistributionOriginGroups.fromJson constructor

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

Implementation

factory AwsCloudFrontDistributionOriginGroups.fromJson(
    Map<String, dynamic> json) {
  return AwsCloudFrontDistributionOriginGroups(
    items: (json['Items'] as List?)
        ?.whereNotNull()
        .map((e) => AwsCloudFrontDistributionOriginGroup.fromJson(
            e as Map<String, dynamic>))
        .toList(),
  );
}