ListDistributionConfigurationsResponse.fromJson constructor

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

Implementation

factory ListDistributionConfigurationsResponse.fromJson(
    Map<String, dynamic> json) {
  return ListDistributionConfigurationsResponse(
    distributionConfigurationSummaryList:
        (json['distributionConfigurationSummaryList'] as List?)
            ?.whereNotNull()
            .map((e) => DistributionConfigurationSummary.fromJson(
                e as Map<String, dynamic>))
            .toList(),
    nextToken: json['nextToken'] as String?,
    requestId: json['requestId'] as String?,
  );
}