toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final agentTool = this.agentTool;
final clientFunction = this.clientFunction;
final connectorTool = this.connectorTool;
final createTime = this.createTime;
final dataStoreTool = this.dataStoreTool;
final displayName = this.displayName;
final etag = this.etag;
final executionType = this.executionType;
final fileSearchTool = this.fileSearchTool;
final generatedSummary = this.generatedSummary;
final googleSearchTool = this.googleSearchTool;
final mcpTool = this.mcpTool;
final name = this.name;
final openApiTool = this.openApiTool;
final pythonFunction = this.pythonFunction;
final remoteAgentTool = this.remoteAgentTool;
final systemTool = this.systemTool;
final timeout = this.timeout;
final toolFakeConfig = this.toolFakeConfig;
final updateTime = this.updateTime;
final widgetTool = this.widgetTool;
return {
'agentTool': ?agentTool,
'clientFunction': ?clientFunction,
'connectorTool': ?connectorTool,
'createTime': ?createTime,
'dataStoreTool': ?dataStoreTool,
'displayName': ?displayName,
'etag': ?etag,
'executionType': ?executionType,
'fileSearchTool': ?fileSearchTool,
'generatedSummary': ?generatedSummary,
'googleSearchTool': ?googleSearchTool,
'mcpTool': ?mcpTool,
'name': ?name,
'openApiTool': ?openApiTool,
'pythonFunction': ?pythonFunction,
'remoteAgentTool': ?remoteAgentTool,
'systemTool': ?systemTool,
'timeout': ?timeout,
'toolFakeConfig': ?toolFakeConfig,
'updateTime': ?updateTime,
'widgetTool': ?widgetTool,
};
}