AttachmentContent.fromJson constructor
Implementation
factory AttachmentContent.fromJson(Map<String, dynamic> json) {
return AttachmentContent(
hash: json['Hash'] as String?,
hashType: (json['HashType'] as String?)?.toAttachmentHashType(),
name: json['Name'] as String?,
size: json['Size'] as int?,
url: json['Url'] as String?,
);
}