Created
January 24, 2020 17:48
-
-
Save mdebbar/00d118a895fcd69f41d3852b089f96cb to your computer and use it in GitHub Desktop.
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
| bool foo() { | |
| Future.value(10).then((_) { | |
| return true; | |
| }).catchError((_) { | |
| return false; | |
| }); | |
| } | |
| void main() { | |
| print(foo()); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment