modEventReportOrNull property
ModEventReport?
get
modEventReportOrNull
Returns ModEventReport if this data is ModEventReport, otherwise null.
Implementation
ModEventReport? get modEventReportOrNull =>
isModEventReport ? modEventReport : null;