toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'temperature': temperature,
    'maxOutputTokens': maxOutputTokens,
    'topP': topP,
    'topK': topK,
    'stopSequences': stopSequences,
  };
}