notifyObjectUpdate method

void notifyObjectUpdate()
inherited

Notifies the listeners of an update of the object in the pot.

Events of pot itself are automatically notified, but changes in the object held in the pot are not. This method is for manually notifying those events.

e.g. Refreshing the value shown in the Pottery DevTools extension page by a notification.

Implementation

void notifyObjectUpdate() {
  StaticPot.eventHandler.addEvent(PotEventKind.objectUpdated, pots: [_pot]);
}