toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final audio = this.audio;
final citations = this.citations;
final context = this.context;
final diagnosticInfo = this.diagnosticInfo;
final endSession = this.endSession;
final googleSearchSuggestions = this.googleSearchSuggestions;
final payload = this.payload;
final text = this.text;
final toolCalls = this.toolCalls;
final turnCompleted = this.turnCompleted;
final turnIndex = this.turnIndex;
return {
'audio': ?audio,
'citations': ?citations,
'context': ?context,
'diagnosticInfo': ?diagnosticInfo,
'endSession': ?endSession,
'googleSearchSuggestions': ?googleSearchSuggestions,
'payload': ?payload,
'text': ?text,
'toolCalls': ?toolCalls,
'turnCompleted': ?turnCompleted,
'turnIndex': ?turnIndex,
};
}