We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8480fd commit 77fbe41Copy full SHA for 77fbe41
lib/src/client_browser.dart
@@ -156,7 +156,7 @@ class ClientBrowser extends ClientBase with ClientMixin {
156
157
while (offset < size) {
158
var chunk;
159
- final end = min(offset + CHUNK_SIZE-1, size-1);
+ final end = min(offset + CHUNK_SIZE, size);
160
chunk = file.bytes!.getRange(offset, end).toList();
161
params[paramName] =
162
http.MultipartFile.fromBytes(paramName, chunk, filename: file.filename);
0 commit comments