toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final maxOutputTokens = this.maxOutputTokens;
  final temperature = this.temperature;
  final topK = this.topK;
  final topP = this.topP;
  return {
    'maxOutputTokens': ?maxOutputTokens,
    'temperature': ?temperature,
    'topK': ?topK,
    'topP': ?topP,
  };
}