watch method

T watch()

Returns the current value and tracks the dependency for reactivity.

Implementation

T watch() => value;