DocumentAttributeValueCountPair.fromJson constructor

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

Implementation

factory DocumentAttributeValueCountPair.fromJson(Map<String, dynamic> json) {
  return DocumentAttributeValueCountPair(
    count: json['Count'] as int?,
    documentAttributeValue: json['DocumentAttributeValue'] != null
        ? DocumentAttributeValue.fromJson(
            json['DocumentAttributeValue'] as Map<String, dynamic>)
        : null,
  );
}