listen abstract method
Calls callback whenever there is an event. Returns a StreamSubscription
to control the listening.
Implementation
StreamSubscription<T> listen(/* Callback | ValueCallback */ callback);
Calls callback whenever there is an event. Returns a StreamSubscription
to control the listening.
StreamSubscription<T> listen(/* Callback | ValueCallback */ callback);