attachParent method

  1. @internal
void attachParent(
  1. XmlStartElementEvent? parent
)
inherited

Internal helper to attach the parent to the event, do not call directly.

Implementation

@internal
void attachParent(XmlStartElementEvent? parent) {
  assert(_parent == null, 'Parent is already initialized.');
  _parent = parent;
}