watch static method
Attaches context to the mutations given in on
param.
When a mutation specified execute widget will rebuild.
Implementation
static void watch(BuildContext context, {required List<Type> on}) {
for (final mutant in on) {
context.dependOnInheritedWidgetOfExactType<_VxStateModel>(
aspect: mutant,
);
}
}