toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final agentCard = this.agentCard;
  final agentRegistry = this.agentRegistry;
  final apiAuthentication = this.apiAuthentication;
  final contextId = this.contextId;
  final inputVariableMapping = this.inputVariableMapping;
  final outputVariableMapping = this.outputVariableMapping;
  final streamingEnabled = this.streamingEnabled;
  return {
    'agentCard': ?agentCard,
    'agentRegistry': ?agentRegistry,
    'apiAuthentication': ?apiAuthentication,
    'contextId': ?contextId,
    'inputVariableMapping': ?inputVariableMapping,
    'outputVariableMapping': ?outputVariableMapping,
    'streamingEnabled': ?streamingEnabled,
  };
}