upload method

Future<PixelBinImage?> upload({
  1. required File file,
  2. required SignedDetails signedDetails,
  3. int chunkSize = 1024,
  4. int concurrency = 1,
})

Implementation

Future<PixelBinImage?> upload({
  required File file,
  required SignedDetails signedDetails,
  int chunkSize = 1024,
  int concurrency = 1,
}) async {
  var uploader = Uploader();
  return uploader.upload(file, signedDetails,
      chunkSize: chunkSize, concurrency: concurrency);
}