logCreateMessageOrNull property

LogCreateMessage? get logCreateMessageOrNull

Returns LogCreateMessage if this data is LogCreateMessage, otherwise null.

Implementation

LogCreateMessage? get logCreateMessageOrNull =>
    isLogCreateMessage ? logCreateMessage : null;