watch<T> abstract method

T watch<T>(
  1. ListeneableProvider<T> providerOrTarget
)

A function to read SimpleProvider or a StateProvider and subscribe to the events.

this method returns the Notifier linked to the provider

Implementation

T watch<T>(ListeneableProvider<T> providerOrTarget);