ListAWSDefaultServiceQuotasResponse.fromJson constructor

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

Implementation

factory ListAWSDefaultServiceQuotasResponse.fromJson(
    Map<String, dynamic> json) {
  return ListAWSDefaultServiceQuotasResponse(
    nextToken: json['NextToken'] as String?,
    quotas: (json['Quotas'] as List?)
        ?.whereNotNull()
        .map((e) => ServiceQuota.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}