Last active
March 31, 2021 07:08
-
-
Save daiki1003/b979ef155deb26b611cf6d9ac688f2b5 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
bool nullableBoolean() { | |
return null; | |
} | |
void main() { | |
final nullable = nullableBoolean(); | |
if (nullable == false) { | |
print('aa'); | |
} else { | |
print('bb'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment