open fun update(state: Map<String, Any>): Unit
This method is called by the owner whenever its state changes so that the instance can update itself for the new state.
state - A map containing the new state of the owner.
state