feedViewPrefOrNull property

FeedViewPref? get feedViewPrefOrNull

Returns FeedViewPref if this data is FeedViewPref, otherwise null.

Implementation

FeedViewPref? get feedViewPrefOrNull => isFeedViewPref ? feedViewPref : null;