DescribePendingAggregationRequestsResponse.fromJson constructor

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

Implementation

factory DescribePendingAggregationRequestsResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribePendingAggregationRequestsResponse(
    nextToken: json['NextToken'] as String?,
    pendingAggregationRequests: (json['PendingAggregationRequests'] as List?)
        ?.whereNotNull()
        .map((e) =>
            PendingAggregationRequest.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}