toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (answer != null) 'answer': answer!,
if (answerGenerationModelCallSignals != null)
'answerGenerationModelCallSignals': answerGenerationModelCallSignals!,
if (answerParts != null) 'answerParts': answerParts!,
if (citedSnippets != null) 'citedSnippets': citedSnippets!,
if (groundingSignals != null) 'groundingSignals': groundingSignals!,
if (rewriterModelCallSignals != null)
'rewriterModelCallSignals': rewriterModelCallSignals!,
if (rewrittenQuery != null) 'rewrittenQuery': rewrittenQuery!,
if (safetySignals != null) 'safetySignals': safetySignals!,
if (searchSnippets != null) 'searchSnippets': searchSnippets!,
};