trigger method

void trigger()

Trigger a "data updated" event. All registered listeners of this Store will receive the event, at which point they can use the latest data from this Store as necessary.

This should be called whenever this Store's data has finished mutating in response to an action.

If the Store is disposing or has been disposed, this method has no effect.

Implementation

void trigger() {
  if (isOrWillBeDisposed) return;

  _streamController.add(this);
}