toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  "_id": id,
  "address": address,
  "announcements_subtype": announcementsSubtype,
  "app_id": appId,
  "body": body,
  "creator": creatorValues.reverse[creator],
  "d_rpt_cnt": dRptCnt,
  "date": date,
  "date_sent": dateSent,
  "deletable": deletable,
  "error_code": errorCode,
  "favorite": favorite,
  "hidden": hidden,
  "locked": locked,
  "msg_id": msgId,
  "pri": pri,
  "protocol": protocol,
  "read": read,
  "reply_path_present": replyPathPresent,
  "reserved": reserved,
  "roam_pending": roamPending,
  "safe_message": safeMessage,
  "secret_mode": secretMode,
  "seen": seen,
  "sim_imsi": simImsiValues.reverse[simImsi],
  "sim_slot": simSlot,
  "spam_report": spamReport,
  "status": status,
  "sub_id": subId,
  "svc_cmd": svcCmd,
  "teleservice_id": teleserviceId,
  "thread_id": threadId,
  "type": type,
  "using_mode": usingMode,
};