GetAttributeValuesResponse.fromJson constructor

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

Implementation

factory GetAttributeValuesResponse.fromJson(Map<String, dynamic> json) {
  return GetAttributeValuesResponse(
    attributeValues: (json['AttributeValues'] as List?)
        ?.whereNotNull()
        .map((e) => AttributeValue.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}