toJson method

Map<String, Object?> toJson()

Serializes this entry to a JSON-compatible map.

Implementation

Map<String, Object?> toJson() => <String, Object?>{
  'timestamp': timestamp.toIso8601String(),
  'messageType': messageType,
  'summary': summary,
  'processingTimeUs': processingTime.inMicroseconds,
};