uploadFile static method

dynamic uploadFile(
  1. List<ScanModel> list, {
  2. dynamic progress(
    1. num currentSize,
    2. num totalSize,
    3. num currentIndex
    )?,
  3. dynamic callback(
    1. bool isComplete,
    2. String? error
    )?,
})

Implementation

static uploadFile(List<ScanModel> list,
    {Function(num currentSize, num totalSize, num currentIndex)? progress,
    Function(bool isComplete, String? error)? callback}) async {
  _dealUploadData(0, list, progress: progress, callback: callback);
}