toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final agent = this.agent;
  final agentIdentity = this.agentIdentity;
  final createTime = this.createTime;
  final description = this.description;
  final displayName = this.displayName;
  final etag = this.etag;
  final mcpTools = this.mcpTools;
  final name = this.name;
  final naturalLanguageConstraint = this.naturalLanguageConstraint;
  final updateTime = this.updateTime;
  return {
    'agent': ?agent,
    'agentIdentity': ?agentIdentity,
    'createTime': ?createTime,
    'description': ?description,
    'displayName': ?displayName,
    'etag': ?etag,
    'mcpTools': ?mcpTools,
    'name': ?name,
    'naturalLanguageConstraint': ?naturalLanguageConstraint,
    'updateTime': ?updateTime,
  };
}