toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  return {
    "logLine": logLine,
    "ts": _fromDateTimeToTimeStamp(time),
    "type": type,
    "sessionId": consumerIdentity.sessionId,
    "providerId": consumerIdentity.providerId,
    "appId": consumerIdentity.appId,
  };
}