YIMAttachmentExt_Image.fromJson constructor

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

Implementation

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