Created
September 23, 2021 09:11
-
-
Save mondoktamas/9b360c42da87d00ae74cf28b40bad5d6 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() { | |
print('Value: ${returnValue()}'); | |
} | |
bool? returnValue() { | |
try { | |
throw Exception(); | |
return null; | |
} catch (error, stack) { | |
return true; | |
} finally { | |
return false; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment