diff --git a/source/_posts/dart.md b/source/_posts/dart.md index 0693df4..6869657 100644 --- a/source/_posts/dart.md +++ b/source/_posts/dart.md @@ -492,7 +492,7 @@ Futures ------------ ### Async Await ```dart -// functionswhich are asynchronous: they return after setting up a possibly time-consuming operation +// functions which are asynchronous: they return after setting up a possibly time-consuming operation // The async and await keywords support asynchronous programming Future login() { @@ -505,7 +505,7 @@ Future login() { // Asynchronous main() async { print('Authenticating please wait...'); - print(await userName()); + print(await login()); } ```