clear method

void clear()

Unregisters all elements. Usually used after an action that makes current input useless (e.g. edited item has been deleted). Registered GuardedForms will register again on their next change.

Implementation

void clear() {
  _owners.clear();
  _parent?.unregister(this);
  _notifyLater();
}