watch<S> abstract method

S watch<S>(
  1. ProviderBase<S> provider
)

Watches provider and rebuilds when it changes.

Implementation

S watch<S>(ProviderBase<S> provider);