upload method

Future<void> upload(
  1. String url,
  2. FlutterUploadRequest request
)

Uploads files to S3. The URL should be the one returned by prepareUpload. The files will be uploaded in the order they are provided in FlutterUploadRequest.images, and will be zipped together by the corresponding Dart/Flutter mechanism.

Implementation

Future<void> upload(String url, FlutterUploadRequest request) {
  return platformInterface.upload(url, request);
}