toJson method

Map<String, dynamic> toJson()

Implementation

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