toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final contents = this.contents;
final createTime = this.createTime;
final displayName = this.displayName;
final encryptionSpec = this.encryptionSpec;
final expireTime = this.expireTime;
final model = this.model;
final name = this.name;
final systemInstruction = this.systemInstruction;
final toolConfig = this.toolConfig;
final tools = this.tools;
final ttl = this.ttl;
final updateTime = this.updateTime;
final usageMetadata = this.usageMetadata;
return {
'contents': ?contents,
'createTime': ?createTime,
'displayName': ?displayName,
'encryptionSpec': ?encryptionSpec,
'expireTime': ?expireTime,
'model': ?model,
'name': ?name,
'systemInstruction': ?systemInstruction,
'toolConfig': ?toolConfig,
'tools': ?tools,
'ttl': ?ttl,
'updateTime': ?updateTime,
'usageMetadata': ?usageMetadata,
};
}