listen method

StreamSubscription<T> listen (
  1. ValueCallback<T> callback
)

Calls callback with current value, when the value changes.

Implementation

StreamSubscription<T> listen(ValueCallback<T> callback);