$UFeedViewPostReasonExtension extension

on

Properties

isNotReasonRepost bool
Returns true if this data is not ReasonRepost, otherwise false.
no setter
isNotUnknown bool
Returns true if this data is not unknown object, otherwise false.
no setter
isReasonRepost bool
Returns true if this data is ReasonRepost, otherwise false.
no setter
isUnknown bool
Returns true if this data is unknown object, otherwise false.
no setter
reasonRepost ReasonRepost
Returns this data as ReasonRepost.
no setter
reasonRepostOrNull ReasonRepost?
Returns ReasonRepost if this data is ReasonRepost, otherwise null.
no setter
unknown Map<String, dynamic>
Returns this data as JSON object.
no setter
unknownOrNull Map<String, dynamic>?
Returns JSON object if this data is unknown, otherwise null.
no setter

Methods

toJson() Map<String, dynamic>
Returns JSON representation.