Migrating to Null Safety
How can you migrate your code to null Safety?
Here we will discuss about how and when to migrate your code to null safety.
Basic steps for migrating each package that you own:-
- Wait for the packages that you depend on to migrate.
- Migrae your pacakge’s code, preferably using the interactive migration tool.
- Statically analyze your package’s code.
- Test to make sur changes work.
- If the package is already on pub.dev, publish the null-safe version as a prerelease version.