toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final afterAgentCallbacks = this.afterAgentCallbacks;
final afterModelCallbacks = this.afterModelCallbacks;
final afterToolCallbacks = this.afterToolCallbacks;
final beforeAgentCallbacks = this.beforeAgentCallbacks;
final beforeModelCallbacks = this.beforeModelCallbacks;
final beforeToolCallbacks = this.beforeToolCallbacks;
final childAgents = this.childAgents;
final createTime = this.createTime;
final description = this.description;
final displayName = this.displayName;
final etag = this.etag;
final generatedSummary = this.generatedSummary;
final guardrails = this.guardrails;
final instruction = this.instruction;
final llmAgent = this.llmAgent;
final modelSettings = this.modelSettings;
final name = this.name;
final remoteDialogflowAgent = this.remoteDialogflowAgent;
final tools = this.tools;
final toolsets = this.toolsets;
final transferRules = this.transferRules;
final updateTime = this.updateTime;
final validationErrors = this.validationErrors;
return {
'afterAgentCallbacks': ?afterAgentCallbacks,
'afterModelCallbacks': ?afterModelCallbacks,
'afterToolCallbacks': ?afterToolCallbacks,
'beforeAgentCallbacks': ?beforeAgentCallbacks,
'beforeModelCallbacks': ?beforeModelCallbacks,
'beforeToolCallbacks': ?beforeToolCallbacks,
'childAgents': ?childAgents,
'createTime': ?createTime,
'description': ?description,
'displayName': ?displayName,
'etag': ?etag,
'generatedSummary': ?generatedSummary,
'guardrails': ?guardrails,
'instruction': ?instruction,
'llmAgent': ?llmAgent,
'modelSettings': ?modelSettings,
'name': ?name,
'remoteDialogflowAgent': ?remoteDialogflowAgent,
'tools': ?tools,
'toolsets': ?toolsets,
'transferRules': ?transferRules,
'updateTime': ?updateTime,
'validationErrors': ?validationErrors,
};
}