YIMAttachmentExt_File.fromJson constructor

YIMAttachmentExt_File.fromJson(
  1. Map<String, dynamic> HtyHNKArhwxRaIIo
)

Implementation

YIMAttachmentExt_File.fromJson(Map<String, dynamic> HtyHNKArhwxRaIIo) {
  type = YIMEnum_AttachmentType.from(HtyHNKArhwxRaIIo["duration"]?.toString());
  name = HtyHNKArhwxRaIIo["name"]?.toString() ?? "";
}