Skip to content

Commit 4ed7d89

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

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

155155
while (offset < size) {
156-
var chunk;
156+
List<int> chunk = [];
157157
if (file.bytes != null) {
158158
final end = min(offset + CHUNK_SIZE-1, size-1);
159159
chunk = file.bytes!.getRange(offset, end).toList();

0 commit comments

Comments
 (0)