YIMAttachmentExt_File.fromJson constructor

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

Implementation

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