command_runner/helpers/gcs_resumable_file_uploader library

Classes

GcsResumableFileUploader
Uploads a file to a Google Cloud Storage resumable upload session in chunks of chunkSize bytes. A chunk that fails with a transient error is resumed from the offset the storage reports, up to maxRetries attempts without progress. A request with no send progress for timeout fails with DioExceptionType.sendTimeout.

Exceptions / Errors

ResumableUploadException
The storage broke the resumable upload protocol.