$WatchHandler<T> constructor

$WatchHandler<T>({
  1. required dynamic funcGetWatchedValueOrRxWrapperOrRx(),
  2. required void funcOnChange(
    1. T newValue,
    2. T oldValue
    ),
})

Implementation

$WatchHandler({
	required this.funcGetWatchedValueOrRxWrapperOrRx,
	required this.funcOnChange,
}) {
	this._sub = this._observer.listen((evt) {
		this._onInitOrUpdated();
	});
	this._onInitOrUpdated(); // kick it off
}