notify static method

void notify(
  1. VxMutation<VxStore?> mutation
)

Notifies widgets that mutation has executed.

Implementation

static void notify(VxMutation mutation) {
  // Adds the mutation type to the _events stream, for the
  // _VxStateModel to rebuild, and to _buffer for keeping
  // track of all the mutations in the build cycle.
  _buffer.add(mutation.runtimeType);
  _events.add(mutation);
}