hiddenPostsPrefOrNull property
HiddenPostsPref?
get
hiddenPostsPrefOrNull
Returns HiddenPostsPref if this data is HiddenPostsPref, otherwise null.
Implementation
HiddenPostsPref? get hiddenPostsPrefOrNull =>
isHiddenPostsPref ? hiddenPostsPref : null;