toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (candidateCount != null) 'candidateCount': candidateCount!,
if (maxOutputTokens != null) 'maxOutputTokens': maxOutputTokens!,
if (stopSequences != null) 'stopSequences': stopSequences!,
if (temperature != null) 'temperature': temperature!,
if (topK != null) 'topK': topK!,
if (topP != null) 'topP': topP!,
};