YIMAttachmentExt_Video.fromJson constructor
Implementation
YIMAttachmentExt_Video.fromJson(Map<String, dynamic> VShdHdTcdWujsTdH) {
type = YIMEnum_AttachmentType.from(VShdHdTcdWujsTdH["duration"]?.toString());
duration = double.tryParse(VShdHdTcdWujsTdH["duration"]?.toString() ?? "0")?.toInt() ?? 0;
image = VShdHdTcdWujsTdH["image"]?.toString() ?? "";
compress = VShdHdTcdWujsTdH["compress"]?.toString() == "1";
}