UploadConfig constructor

UploadConfig({
  1. Map<String, String>? headers,
  2. String? uploadUrl,
  3. String method = 'POST',
  4. int timeout = 30,
  5. String fileFieldName = 'file',
  6. Map<String, dynamic>? extraData,
})

Implementation

UploadConfig({this.headers, this.uploadUrl, this.method = 'POST', this.timeout = 30, this.fileFieldName = 'file', this.extraData});