ListRequestedServiceQuotaChangeHistoryByQuotaResponse.fromJson constructor

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

Implementation

factory ListRequestedServiceQuotaChangeHistoryByQuotaResponse.fromJson(
    Map<String, dynamic> json) {
  return ListRequestedServiceQuotaChangeHistoryByQuotaResponse(
    nextToken: json['NextToken'] as String?,
    requestedQuotas: (json['RequestedQuotas'] as List?)
        ?.whereNotNull()
        .map((e) =>
            RequestedServiceQuotaChange.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}