UploadFile.fromPath constructor

const UploadFile.fromPath({
  1. required String field,
  2. required String? path,
  3. String? filename,
})

Implementation

const UploadFile.fromPath({
  required this.field,
  required this.path,
  this.filename,
})  : bytes = null,
      stream = null,
      _length = null;