Created
October 22, 2020 17:21
-
-
Save timsneath/bc1cdb3d06de86099026b30e6789dd89 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
| // These are all nullable variables. | |
| Text? t = Text('Hello'); // Can be null later. | |
| final Status? s = getStatus(); // Maybe the function returns null. | |
| String? n; // Is null at first. Can be null at any later time, too. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment