toJson method

  1. @override
Object toJson()
override

Implementation

@override
Object toJson() => {
  if (setup != null) 'setup': setup!.toJson(),
  if (clientContent != null) 'clientContent': clientContent!.toJson(),
  if (realtimeInput != null) 'realtimeInput': realtimeInput!.toJson(),
  if (toolResponse != null) 'toolResponse': toolResponse!.toJson(),
};