threadViewPostOrNull property
ThreadViewPost?
get
threadViewPostOrNull
Returns ThreadViewPost if this data is ThreadViewPost, otherwise null.
Implementation
ThreadViewPost? get threadViewPostOrNull =>
isThreadViewPost ? threadViewPost : null;