CachedContent constructor

CachedContent({
  1. Timestamp? expireTime,
  2. Duration? ttl,
  3. String? name,
  4. String? displayName,
  5. required String? model,
  6. Content? systemInstruction,
  7. List<Content> contents = const [],
  8. List<Tool> tools = const [],
  9. ToolConfig? toolConfig,
  10. Timestamp? createTime,
  11. Timestamp? updateTime,
  12. 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);