UpdateObservableProperty
Represents an observable property whose value is derived from a base value of type T and can be updated by changing the base value.
This class extends ObservableProperty and uses an UpdateMutableState to manage the underlying base value and the derived value. When the base value is updated via the update method, the UpdateMutableState recomputes the derived value, and if the derived value changes, it notifies any registered observers.
Parameters
The type of the base value.
The type of the derived value.
The UpdateMutableState that holds the base value and the logic to derive the observable value.
An optional callback function that is invoked when the derived value changes. It receives the new derived value (or null if it hasn't been computed yet) as its argument.