modEventDivertOrNull property

ModEventDivert? get modEventDivertOrNull

Returns ModEventDivert if this data is ModEventDivert, otherwise null.

Implementation

ModEventDivert? get modEventDivertOrNull =>
    isModEventDivert ? modEventDivert : null;