upgrade dart sdk code example
Example 1: dart update
C:\> choco upgrade dart-sdk
Example 2: flutter sdk update
$ flutter upgrade
Example 3: dart update
C:\> choco install dart-sdk
C:\> choco upgrade dart-sdk
$ flutter upgrade
C:\> choco install dart-sdk