please remember that I am new to google earth engine I have a classified image on sentinal that has 8 classes as bands 0 as water 1 as builtup 2 as barren 3 as trees 4 as grass 5 as crops etc
I want to convert these bands into polygons using reduceToVectors() below is the link to earth engine snippet for checking further details about image and its bands.
https://code.earthengine.google.com/0b7045cc3e0577590ac5917d78fa4d6a