WatchContext extension

Exposes the watch method.

on

Methods

watch<T>() → T
Obtain a value from the nearest ancestor provider of type T or T?, and subscribe to the provider.