toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final agentName = this.agentName;
  final args = this.args;
  final displayName = this.displayName;
  final id = this.id;
  final parentToolCallId = this.parentToolCallId;
  final tool = this.tool;
  final toolsetTool = this.toolsetTool;
  return {
    'agentName': ?agentName,
    'args': ?args,
    'displayName': ?displayName,
    'id': ?id,
    'parentToolCallId': ?parentToolCallId,
    'tool': ?tool,
    'toolsetTool': ?toolsetTool,
  };
}