reasonRepostOrNull property
ReasonRepost?
get
reasonRepostOrNull
Returns ReasonRepost if this data is ReasonRepost, otherwise null.
Implementation
ReasonRepost? get reasonRepostOrNull => isReasonRepost ? reasonRepost : null;