Upgrade is one of the commands of the pub tool . $ dart pub upgrade [options] [dependencies] Like dart pub get , dart pub upgrade gets dependencies. The difference is that dart pub upgrade ignores any existing lockfile, so that pub can get the latest versions of all dependencies.
Read moreHow do I install DART version?
Install Dart on Windows
Read more