toJson method

Map<String, dynamic> toJson()

Implementation

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