Skip to content

Instantly share code, notes, and snippets.

@benznest
Created March 17, 2019 07:29
Show Gist options
  • Save benznest/c37f19cb35520a37488ba5af2933ca09 to your computer and use it in GitHub Desktop.
Save benznest/c37f19cb35520a37488ba5af2933ca09 to your computer and use it in GitHub Desktop.
Null coalescing operator in Dart
main(){
String name;
print(name ?? "benznest"); // benznest
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment