unregister method

void unregister(
  1. Object owner
)

Unregisters owner. May be called several times, and from State.dispose.

Implementation

void unregister(Object owner) {
  _owners.remove(owner);
  if (!isEditing) _parent?.unregister(this);
  _notifyLater();
}