DocumentAttribute.fromJson constructor

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

Implementation

factory DocumentAttribute.fromJson(Map<String, dynamic> json) {
  return DocumentAttribute(
    key: json['Key'] as String,
    value: DocumentAttributeValue.fromJson(
        json['Value'] as Map<String, dynamic>),
  );
}