Skip to content

Commit 736cd6c

Browse files
committed
revert dart syntax change
1 parent 41066dc commit 736cd6c

File tree

1 file changed

+1
-1
lines changed
  • src/pages/[platform]/build-a-backend/storage/download-files

1 file changed

+1
-1
lines changed

src/pages/[platform]/build-a-backend/storage/download-files/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,7 @@ download
956956
```dart
957957
final operation = Amplify.Storage.downloadData(
958958
path: const StoragePath.fromString('public/example.txt'),
959-
onProgress: (progress) => {
959+
onProgress: (progress) {
960960
safePrint('fraction totalBytes: ${progress.totalBytes}');
961961
safePrint('fraction transferredBytes: ${progress.transferredBytes}');
962962
safePrint('fraction completed: ${progress.fractionCompleted}');

0 commit comments

Comments
 (0)