DescribeAccountAttributesResponse.fromJson constructor

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

Implementation

factory DescribeAccountAttributesResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeAccountAttributesResponse(
    accountQuotas: (json['AccountQuotas'] as List?)
        ?.whereNotNull()
        .map((e) => AccountQuota.fromJson(e as Map<String, dynamic>))
        .toList(),
    uniqueAccountIdentifier: json['UniqueAccountIdentifier'] as String?,
  );
}