toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final baseAgent = this.baseAgent;
final baseEnvironment = this.baseEnvironment;
final created = this.created;
final description = this.description;
final id = this.id;
final metadata = this.metadata;
final name = this.name;
final object = this.object;
final systemInstruction = this.systemInstruction;
final tools = this.tools;
final updated = this.updated;
return {
'base_agent': ?baseAgent,
'base_environment': ?baseEnvironment,
'created': ?created,
'description': ?description,
'id': ?id,
'metadata': ?metadata,
'name': ?name,
'object': ?object,
'system_instruction': ?systemInstruction,
'tools': ?tools,
'updated': ?updated,
};
}