Skip to content

Instantly share code, notes, and snippets.

@tunitowen
Created September 2, 2025 12:20
Show Gist options
  • Select an option

  • Save tunitowen/cdd4956f47934798510027041c8f2bb9 to your computer and use it in GitHub Desktop.

Select an option

Save tunitowen/cdd4956f47934798510027041c8f2bb9 to your computer and use it in GitHub Desktop.
Joii - Future
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