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 3175512 commit 969daefCopy full SHA for 969daef
lib/src/downloader.dart
@@ -162,7 +162,9 @@ class FlutterDownloader {
162
filename: item['file_name'] as String?,
163
savedDir: item['saved_dir'] as String,
164
timeCreated: item['time_created'] as int,
165
- allowCellular: item['allow_cellular'] as bool,
+
166
+ // allowCellular field is true by default (similar to enqueue())
167
+ allowCellular: (item['allow_cellular'] as bool?) ?? true,
168
);
169
},
170
).toList();
0 commit comments