detachParent method Null safety

  1. @override
void detachParent(
  1. covariant T parent
)

Internal helper to detach a child from its parent, do not call directly.

Implementation

@override
void detachParent(T parent) {
  XmlParentException.checkMatchingParent(this, parent);
  _parent = null;
}