facetMentionOrNull property

FacetMention? get facetMentionOrNull

Returns FacetMention if this data is FacetMention, otherwise null.

Implementation

FacetMention? get facetMentionOrNull => isFacetMention ? facetMention : null;