UpdateMutableState
An abstract class that implements the MutableState interface and provides a base for creating mutable state objects.
This class is designed to be extended by concrete mutable state implementations. It provides a base
property that holds the underlying value of the state, as well as methods for getting, setting, and updating the base
value.
Subclasses must implement the getValue and setValue methods to define how the state value is accessed and modified.
Parameters
T
The type of the base value.
R
The type of the state value.