toJson method
Returns a JSON view used by the snapshot/dashboard.
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
...super.toJson(),
'session_id': sessionId,
if (threadId != null) 'thread_id': threadId,
if (turnId != null) 'turn_id': turnId,
};