toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final agentSpec = this.agentSpec;
  final createTime = this.createTime;
  final description = this.description;
  final displayName = this.displayName;
  final endpointSpec = this.endpointSpec;
  final interfaces = this.interfaces;
  final mcpServerSpec = this.mcpServerSpec;
  final name = this.name;
  final registryResource = this.registryResource;
  final updateTime = this.updateTime;
  return {
    'agentSpec': ?agentSpec,
    'createTime': ?createTime,
    'description': ?description,
    'displayName': ?displayName,
    'endpointSpec': ?endpointSpec,
    'interfaces': ?interfaces,
    'mcpServerSpec': ?mcpServerSpec,
    'name': ?name,
    'registryResource': ?registryResource,
    'updateTime': ?updateTime,
  };
}