DescribeAccountAttributesResponse.fromJson constructor

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

Implementation

factory DescribeAccountAttributesResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeAccountAttributesResponse(
    attributes: (json['Attributes'] as List?)
        ?.whereNotNull()
        .map((e) => AccountAttribute.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}