Skip to content

Commit

Permalink
Merge pull request #819 from appwrite/fix-flutter-unused-code
Browse files Browse the repository at this point in the history
Fix type definition linter issue in flutter and Dart
  • Loading branch information
lohanidamodar committed Apr 25, 2024
2 parents f5d1819 + 40485e9 commit 5128466
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/dart/lib/src/client_browser.dart.twig
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class ClientBrowser extends ClientBase with ClientMixin {
}

while (offset < size) {
var chunk;
List<int> chunk = [];
final end = min(offset + CHUNK_SIZE, size);
chunk = file.bytes!.getRange(offset, end).toList();
params[paramName] =
Expand Down
2 changes: 1 addition & 1 deletion templates/flutter/lib/src/client_browser.dart.twig
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class ClientBrowser extends ClientBase with ClientMixin {
}

while (offset < size) {
var chunk;
List<int> chunk = [];
final end = min(offset + CHUNK_SIZE, size);
chunk = file.bytes!.getRange(offset, end).toList();
params[paramName] =
Expand Down

0 comments on commit 5128466

Please sign in to comment.