Last active
May 22, 2020 00:00
-
-
Save ThinkDigitalSoftware/383422fa45ce6657d6ec7109938a850f 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() { | |
var s1 = S(); | |
print(s1?.num ?? 0 > 1); | |
var s2 = S()..num = 1.0; | |
print(s2?.num ?? 0 > 1); | |
} | |
class S { | |
double num; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment