ExportModel.fromJson constructor

ExportModel.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ExportModel.fromJson(Map<String, dynamic> json) => ExportModel(
  subject: json["subject"],
  messageContent: json["messageContent"],
  mediaAttachmentsUrl: json["mediaAttachmentsUrl"] == null ? [] : List<String>.from(json["mediaAttachmentsUrl"]!.map((x) => x)),
);