toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final audioTimestamp = this.audioTimestamp;
  final candidateCount = this.candidateCount;
  final enableAffectiveDialog = this.enableAffectiveDialog;
  final frequencyPenalty = this.frequencyPenalty;
  final imageConfig = this.imageConfig;
  final logprobs = this.logprobs;
  final maxOutputTokens = this.maxOutputTokens;
  final mediaResolution = this.mediaResolution;
  final presencePenalty = this.presencePenalty;
  final responseJsonSchema = this.responseJsonSchema;
  final responseLogprobs = this.responseLogprobs;
  final responseMimeType = this.responseMimeType;
  final responseModalities = this.responseModalities;
  final responseSchema = this.responseSchema;
  final routingConfig = this.routingConfig;
  final seed = this.seed;
  final speechConfig = this.speechConfig;
  final stopSequences = this.stopSequences;
  final temperature = this.temperature;
  final thinkingConfig = this.thinkingConfig;
  final topK = this.topK;
  final topP = this.topP;
  return {
    'audioTimestamp': ?audioTimestamp,
    'candidateCount': ?candidateCount,
    'enableAffectiveDialog': ?enableAffectiveDialog,
    'frequencyPenalty': ?frequencyPenalty,
    'imageConfig': ?imageConfig,
    'logprobs': ?logprobs,
    'maxOutputTokens': ?maxOutputTokens,
    'mediaResolution': ?mediaResolution,
    'presencePenalty': ?presencePenalty,
    'responseJsonSchema': ?responseJsonSchema,
    'responseLogprobs': ?responseLogprobs,
    'responseMimeType': ?responseMimeType,
    'responseModalities': ?responseModalities,
    'responseSchema': ?responseSchema,
    'routingConfig': ?routingConfig,
    'seed': ?seed,
    'speechConfig': ?speechConfig,
    'stopSequences': ?stopSequences,
    'temperature': ?temperature,
    'thinkingConfig': ?thinkingConfig,
    'topK': ?topK,
    'topP': ?topP,
  };
}