CachedContent constructor
CachedContent({
- Timestamp? expireTime,
- Duration? ttl,
- String name = '',
- String displayName = '',
- String model = '',
- Content? systemInstruction,
- List<
Content> contents = const [], - List<
Tool> tools = const [], - ToolConfig? toolConfig,
- Timestamp? createTime,
- Timestamp? updateTime,
- CachedContent_UsageMetadata? usageMetadata,
- EncryptionSpec? encryptionSpec,
Implementation
CachedContent({
this.expireTime,
this.ttl,
this.name = '',
this.displayName = '',
this.model = '',
this.systemInstruction,
this.contents = const [],
this.tools = const [],
this.toolConfig,
this.createTime,
this.updateTime,
this.usageMetadata,
this.encryptionSpec,
}) : super(fullyQualifiedName);