Skip to content

Commit baf1bae

Browse files
provide type fix analyzer error
1 parent 4ed7d89 commit baf1bae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/flutter/lib/src/client_io.dart.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ class ClientIO extends ClientBase with ClientMixin {
274274
}
275275

276276
while (offset < size) {
277-
var chunk;
277+
List<int> chunk = [];
278278
if (file.bytes != null) {
279279
final end = min(offset + CHUNK_SIZE-1, size-1);
280280
chunk = file.bytes!.getRange(offset, end).toList();

0 commit comments

Comments
 (0)