AwsCloudFrontDistributionOrigins.fromJson constructor

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

Implementation

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