Dart Beginners Course - Tutorial #08: Null Safety
This is the eight chapter of my Complete Dart Course.
- Introduction to Null Safety
- Nullable and non-nullable variables
- Flow Analysis: Promotion and Definite Assignment
- The assertion operator
- The if-null operator
- Null Safety with type inference
- Null Safety with collections
- The conditional access operator & the billion dollar mistake
Here's the supporting GitHub project.
You can view all the details here: Complete Dart Course
Code with Andrea is free for everyone. Help me keep it that way by checking out this sponsor:
Add in-app purchases to your app in minutes. With RevenueCat you get reliable in-app purchase infrastructure without the hassle of building and maintaining your own servers. Try it for free.