watchX<T extends Object, R> method
like watch but it only triggers a rebuild when the value of
the ValueListenable
, that the function select
returns changes
useful if the ValueListenable
is a member of your business object T
Implementation
R watchX<T extends Object, R>(
ValueListenable<R> Function(T) select, {
String? instanceName,
}) =>
_state.value.watchX<T, R>(select, instanceName: instanceName);