Introduction
Null safety helps prevent errors by making sure variables always have a value or are clearly marked as nullable.
When you want to avoid app crashes caused by missing values.
When you want to write safer and more reliable code.
When you want the compiler to help catch mistakes before running the app.
When you want to clearly show which variables can be empty and which cannot.