Skip to content

Commit 185a3ba

Browse files
committed
fix dart analyzer error
1 parent 93ef96d commit 185a3ba

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

templates/dart/lib/package.dart.twig

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@ library {{ language.params.packageName }};
22

33
import 'dart:async';
44
import 'dart:typed_data';
5+
56
import 'src/enums.dart';
6-
import 'src/client.dart';
77
import 'src/service.dart';
88
import 'src/input_file.dart';
99
import 'src/upload_progress.dart';
1010
import 'models.dart' as models;
11-
1211
export 'src/response.dart';
13-
export 'src/client.dart';
1412
export 'src/exception.dart';
1513
export 'src/input_file.dart';
1614
export 'src/upload_progress.dart';

templates/dart/lib/src/client_browser.dart.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class ClientBrowser extends ClientBase with ClientMixin {
119119
}
120120

121121
while (offset < size) {
122-
var chunk;
122+
List<int> chunk;
123123
final end = min(offset + CHUNK_SIZE, size);
124124
chunk = file.bytes!.getRange(offset, end).toList();
125125
params[paramName] =

0 commit comments

Comments
 (0)