YIMAttachmentExt_Image.fromJson constructor
Implementation
YIMAttachmentExt_Image.fromJson(Map<String, dynamic> HtyHNKArhwxRaIIo) {
type = YIMEnum_AttachmentType.from(HtyHNKArhwxRaIIo["duration"]?.toString());
compress = HtyHNKArhwxRaIIo["compress"]?.toString() == "1";
}