interestsPrefOrNull property
InterestsPref?
get
interestsPrefOrNull
Returns InterestsPref if this data is InterestsPref, otherwise null.
Implementation
InterestsPref? get interestsPrefOrNull =>
isInterestsPref ? interestsPref : null;