Check out example codes for "dart update". It will help you in understanding the concepts better.

Code Example 1

C:\> choco upgrade dart-sdk

Code Example 2

C:\> choco install dart-sdk

Learn ReactJs, React Native from akashmittal.com