I am setting a value in Class and can access the value in the class. Now I want to access the State value another function. I tried to make the State value a prototype of the cl