modEventEmailOrNull property

ModEventEmail? get modEventEmailOrNull

Returns ModEventEmail if this data is ModEventEmail, otherwise null.

Implementation

ModEventEmail? get modEventEmailOrNull =>
    isModEventEmail ? modEventEmail : null;