AttachmentInfo constructor

AttachmentInfo(
  1. File? file,
  2. MediaType mediaType,
  3. String? name,
  4. int? size,
  5. ContentDisposition? contentDisposition,
  6. Uint8List? data,
  7. PartBuilder part,
)

Creates a new attachment info

Implementation

AttachmentInfo(
  this.file,
  this.mediaType,
  this.name,
  this.size,
  this.contentDisposition,
  this.data,
  this.part,
);