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