YIMAttachmentExt_Image.fromJson constructor

YIMAttachmentExt_Image.fromJson(
  1. Map<String, dynamic> VShdHdTcdWujsTdH
)

Implementation

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