Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 293 Bytes

dart.md

File metadata and controls

10 lines (6 loc) · 293 Bytes

Learning Dart

null safety : https://dart.dev/null-safety#enable-null-safety

code are non-nullable by default, meaning that variables can’t contain null. To indicate that a variable might have the value null, just add ? to its type declaration.

int? aNullableInt = null;