Part constructor

Part({
  1. String? text,
  2. Blob? inlineData,
  3. FunctionCall? functionCall,
  4. FunctionResponse? functionResponse,
  5. FileData? fileData,
  6. ExecutableCode? executableCode,
  7. CodeExecutionResult? codeExecutionResult,
  8. VideoMetadata? videoMetadata,
  9. bool thought = false,
  10. Uint8List? thoughtSignature,
  11. Struct? partMetadata,
})

Implementation

Part({
  this.text,
  this.inlineData,
  this.functionCall,
  this.functionResponse,
  this.fileData,
  this.executableCode,
  this.codeExecutionResult,
  this.videoMetadata,
  this.thought = false,
  Uint8List? thoughtSignature,
  this.partMetadata,
}) : thoughtSignature = thoughtSignature ?? Uint8List(0),
     super(fullyQualifiedName);