listen method

StreamSubscription<void> listen(
  1. void onUpdate()
)

Listens to this Store for notifications.

Implementation

StreamSubscription<void> listen(final void Function() onUpdate) =>
    _updateController.stream.listen((final event) => onUpdate());