Here, I want to save the state of my toggle but through my Model and view Model.
this code is from my view where I implemented the toggle button
@Obser