Attachment.fromJson constructor
Implementation
factory Attachment.fromJson(Map<String, dynamic> json) {
return Attachment(
filename: json['filename'] as String,
contentType: json['contentType'] as String,
size: json['size'] as int,
);
}