toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final cachedContent = this.cachedContent;
final contents = this.contents;
final generationConfig = this.generationConfig;
final labels = this.labels;
final modelArmorConfig = this.modelArmorConfig;
final safetySettings = this.safetySettings;
final systemInstruction = this.systemInstruction;
final toolConfig = this.toolConfig;
final tools = this.tools;
return {
'cachedContent': ?cachedContent,
'contents': ?contents,
'generationConfig': ?generationConfig,
'labels': ?labels,
'modelArmorConfig': ?modelArmorConfig,
'safetySettings': ?safetySettings,
'systemInstruction': ?systemInstruction,
'toolConfig': ?toolConfig,
'tools': ?tools,
};
}