Skip to content

Commit

Permalink
chore: add missing status field
Browse files Browse the repository at this point in the history
  • Loading branch information
kslr authored Sep 3, 2023
1 parent 36db3d0 commit 16d5979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ final result = await FileDownloader().download(task,
);
// Act on the result
switch (result) {
switch (result.status) {
case TaskStatus.complete:
print('Success!');
Expand Down

1 comment on commit 16d5979

@781flyingdutchman
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Please sign in to comment.