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