Merge pull request #1 from know120/know120-patch-1

Update dart.md
This commit is contained in:
Sujay Halder authored and GitHub committed 2024-03-17 08:11:05 +05:30
commit 3b499ecc04
1 file changed
+2 -2
+2 -2
View File
@@ -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<String> login() {
@@ -505,7 +505,7 @@ Future<String> login() {
// Asynchronous
main() async {
print('Authenticating please wait...');
print(await userName());
print(await login());
}
```