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