toJson method
Converts an ExportModel object to a JSON map.
Implementation
Map<String, dynamic> toJson() => {
"subject": subject,
"messageContent": messageContent,
"mediaAttachmentsUrl": mediaAttachmentsUrl == null
? []
: List<dynamic>.from(mediaAttachmentsUrl!.map((x) => x)),
};