parentEvent property

XmlStartElementEvent? get parentEvent
inherited

Return the parent event of type XmlStartElementEvent, or null.

The parent event is not set by default. It is only available if the event stream is annotated with XmlWithParentEvents.

Implementation

XmlStartElementEvent? get parentEvent => _parentEvent;