modEventUnmuteOrNull property

ModEventUnmute? get modEventUnmuteOrNull

Returns ModEventUnmute if this data is ModEventUnmute, otherwise null.

Implementation

ModEventUnmute? get modEventUnmuteOrNull =>
    isModEventUnmute ? modEventUnmute : null;