Created
February 18, 2022 07:53
-
-
Save HaradaKumiko/aa3b9d10c2c753b93d76410c5d8ef2a1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Future<void> prosesOrder() { | |
return Future.delayed( | |
const Duration(seconds: 2), | |
() => print('Large Latte'), | |
); | |
} | |
void main() { | |
prosesOrder(); | |
print('Mengambil order...'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Output
![image](https://user-images.githubusercontent.com/42530587/154641153-d65a6bd6-8f35-4284-945a-5e10b5f52cb3.png)