dart pub upgrade
Upgrade the current package's dependencies to latest versions
Options
| Name | Description | 
|---|---|
-h, --help | Print this usage information | 
--offline | Use cached packages instead of accessing the network | 
--no-offline | Do not use cached packages instead of accessing the network | 
-n, --dry-run | Report what dependencies would change but don't change any | 
--precompile | Precompile executables in immediate dependencies | 
--no-precompile | Do not precompile executables in immediate dependencies | 
--null-safety | Upgrade constraints in pubspec.yaml to null-safety versions | 
--major-versions | Upgrades packages to their latest resolvable versions, and updates pubspec.yaml |