dart pub upgrade --null-safety
/*
It validates and checks for compatibility of the dependencies and updates
them accordingly rather than showing just an incompatibility error or remove the
flutter_test dependency or downgrade or upgrade the incompatible package as the
error my be.
*/