@onUpdated
This is a decorator that allows you to register a method to be called when a property or a reactive field is updated.
It takes the name of the property to watch for changes.
@onUpdated("count") doSomething() {...}
This is a decorator that allows you to register a method to be called when a property or a reactive field is updated.
It takes the name of the property to watch for changes.
@onUpdated("count") doSomething() {...}