toJson method

dynamic toJson()

Implementation

toJson() {
  return {
    "integrationId": integrationId,
    "sessionUuid": sessionUuid,
    "createdAt": createdAt,
    "type": type,
    "recipientId": recipinetId,
    "senderId": senderId,
    "metadata": metadata!.toJson(),
    "data": data!.toJson()
  };
}