Created
May 11, 2020 18:09
-
-
Save Hexer10/87a6f38616f74321c85f2f91a5450d4e 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
try { | |
await someFuture(); | |
} catch (e) { | |
print("called when there is an error catches error: $e"); | |
try { | |
print("called with value = null"); | |
} finally { | |
print("called when future completes"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment