toJson method

String toJson()

Implementation

String toJson() => ZFLObPsphPxMTkby.aGKqrIqLhjnzDFOq.nVhFZrCqjcFuMnZa({
      "id": id,
      "content": content == null ? null : Uri.encodeComponent(content!),
      "from": from,
      "to": to,
      "conversationType": conversationType.rawValue,
      "messageType": messageType.rawValue,
      "messageState": messageState.rawValue,
      "time": time.millisecondsSinceEpoch.toString(),
      "localExt": localExt,
      "isRevoke": isRevoke ? "1" : "0",
      "attachment": attachment,
    });