ListObjectAttributesResponse.fromJson constructor

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

Implementation

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