Created
May 18, 2021 23:18
-
-
Save munificent/b4426a655ecd981562e132f300aa9d4b 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
void method(String? s) { | |
if (s == null) return; | |
print(s.length); | |
} | |
void main() { | |
method(null); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment