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