RawUpload constructor

const RawUpload({
  1. required String url,
  2. UploadMethod method = UploadMethod.POST,
  3. Map<String, String>? headers,
  4. String? tag,
  5. String? path,
  6. bool allowCellular = true,
})

Default constructor.

Implementation

const RawUpload({
  required String url,
  UploadMethod method = UploadMethod.POST,
  Map<String, String>? headers,
  String? tag,
  this.path,
  bool allowCellular = true,
}) : super(
        url: url,
        method: method,
        headers: headers,
        tag: tag,
        allowCellular: allowCellular,
      );