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