asEvent property

RoadEvent? get asEvent

Implementation

RoadEvent? get asEvent => this.isEvent ? this._value as RoadEvent : null;