uploadFileChunked method
Future<Map<String, String> >
uploadFileChunked(
- File file,
- String parent, {
- String? fileUuid,
- String? creationTime,
- String? modificationTime,
- String? resumeUploadKey,
- int resumeFromChunk = 0,
- Set<
int> ? completedChunks, - String? fileKey,
- int maxConcurrentChunks = kDefaultUploadConcurrency,
- dynamic onProgress()?,
- dynamic onUploadStart()?,
- void onChunksCompleted()?,
Implementation
Future<Map<String, String>> uploadFileChunked(
File file,
String parent, {
String? fileUuid,
String? creationTime,
String? modificationTime,
String? resumeUploadKey,
int resumeFromChunk = 0,
Set<int>? completedChunks,
String? fileKey,
int maxConcurrentChunks = kDefaultUploadConcurrency,
Function(int, int, int, int)? onProgress,
Function(String, String, String)? onUploadStart,
void Function(Set<int>)? onChunksCompleted,
}) =>
uploader.uploadFileChunked(file, parent,
fileUuid: fileUuid,
creationTime: creationTime,
modificationTime: modificationTime,
resumeUploadKey: resumeUploadKey,
resumeFromChunk: resumeFromChunk,
completedChunks: completedChunks,
fileKey: fileKey,
maxConcurrentChunks: maxConcurrentChunks,
onProgress: onProgress,
onUploadStart: onUploadStart,
onChunksCompleted: onChunksCompleted);