ListInfrastructureConfigurationsResponse.fromJson constructor

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

Implementation

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