parentEvent property Null safety

XmlStartElementEvent? 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;