blockedPostOrNull property

BlockedPost? get blockedPostOrNull

Returns BlockedPost if this data is BlockedPost, otherwise null.

Implementation

BlockedPost? get blockedPostOrNull => isBlockedPost ? blockedPost : null;