Just open your terminal (if Ubuntu). Then type
sudo apt-get install curl
Then try to upgrade the Flutter Sdk. it will work.NB: Before upgrading, you must take a backup of your present code. Or some API may show as deprecated and that will affect your project.