mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
Add unawaited_futures (#1148)
This commit is contained in:
@@ -144,7 +144,7 @@ class ProfilesStore extends ChangeNotifier {
|
||||
|
||||
/// Save file to disk if path was provided.
|
||||
if (savePath != null) {
|
||||
file.saveTo(savePath);
|
||||
await file.saveTo(savePath);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user