PromptAttachment constructor

const PromptAttachment({
  1. required String path,
  2. required String name,
  3. String? mimeType,
  4. int? size,
  5. String? data,
  6. bool userApprovedOutsideWorkspace = false,
  7. bool forceResourceLink = false,
})

Implementation

const PromptAttachment({
  required this.path,
  required this.name,
  this.mimeType,
  this.size,
  this.data,
  this.userApprovedOutsideWorkspace = false,
  this.forceResourceLink = false,
});