Created
September 2, 2025 12:20
-
-
Save tunitowen/cdd4956f47934798510027041c8f2bb9 to your computer and use it in GitHub Desktop.
Joii - Future
This file contains hidden or 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
| void main() async { | |
| getThing().then((value){ | |
| print(value); | |
| }); | |
| final value = await getThing(); | |
| print(value); | |
| } | |
| Future<String> getThing() async { | |
| return "Hello World"; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment