toJson method

Map<String, dynamic> toJson()

Converts an ExportModel instance into a JSON object.

Implementation

Map<String, dynamic> toJson() => {
      "subject": subject,
      "messageContent": messageContent,
      "mediaAttachmentsUrl": mediaAttachmentsUrl == null
          ? []
          : List<dynamic>.from(mediaAttachmentsUrl!.map((x) => x)),
    };