Created
December 19, 2019 19:04
-
-
Save ReginFell/2e54aec8deb274c492dce404c525d44e 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
void main() async { | |
var what1 = getFuture(); | |
var what2 = getString(); | |
// what1 is dynamic, what2 is string | |
} | |
getFuture() { | |
return Future.value(1); | |
} | |
String getString() { | |
return "Hello"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment