UploadFile constructor

UploadFile({
  1. required Uint8List bytes,
  2. String? name,
  3. String? mimeType,
  4. String? collectionPath,
  5. String? uploadingToastTxt,
  6. Map<String, String>? metadata,
  7. String? contentDisposition,
  8. FileCategory category = FileCategory.other,
})

Implementation

UploadFile({
  required this.bytes,
  this.name,
  this.mimeType,
  this.collectionPath,
  this.uploadingToastTxt,
  this.metadata,
  this.contentDisposition,
  this.category = FileCategory.other,
});