KnownInteractionEvent enum
Overview
The object representing knownValues
defined in Lexicon as an Enum.
Although the knownValues
defined in Lexicon are not technically Enums,
it is very useful to be able to treat these fields as type safe Enums.
Usage
Get JSON compatible value
// JSON compatible value.
final value = KnownInteractionEvent.something.value;
Convert to UInteractionEvent
final union = KnownInteractionEvent.something.toUnion();
- Inheritance
- Available extensions
Values
- requestLess → const KnownInteractionEvent
-
Request that less content like the given feed item be shown in the feed
const KnownInteractionEvent('app.bsky.feed.defs#requestLess')
- requestMore → const KnownInteractionEvent
-
Request that more content like the given feed item be shown in the feed
const KnownInteractionEvent('app.bsky.feed.defs#requestMore')
- clickthroughItem → const KnownInteractionEvent
-
User clicked through to the feed item
const KnownInteractionEvent('app.bsky.feed.defs#clickthroughItem')
- clickthroughAuthor → const KnownInteractionEvent
-
User clicked through to the author of the feed item
const KnownInteractionEvent('app.bsky.feed.defs#clickthroughAuthor')
- clickthroughReposter → const KnownInteractionEvent
-
User clicked through to the reposter of the feed item
const KnownInteractionEvent('app.bsky.feed.defs#clickthroughReposter')
- clickthroughEmbed → const KnownInteractionEvent
-
User clicked through to the embedded content of the feed item
const KnownInteractionEvent('app.bsky.feed.defs#clickthroughEmbed')
- interactionSeen → const KnownInteractionEvent
-
Feed item was seen by user
const KnownInteractionEvent('app.bsky.feed.defs#interactionSeen')
- interactionLike → const KnownInteractionEvent
-
User liked the feed item
const KnownInteractionEvent('app.bsky.feed.defs#interactionLike')
- interactionRepost → const KnownInteractionEvent
-
User reposted the feed item
const KnownInteractionEvent('app.bsky.feed.defs#interactionRepost')
- interactionReply → const KnownInteractionEvent
-
User replied to the feed item
const KnownInteractionEvent('app.bsky.feed.defs#interactionReply')
- interactionQuote → const KnownInteractionEvent
-
User quoted the feed item
const KnownInteractionEvent('app.bsky.feed.defs#interactionQuote')
-
User shared the feed item
const KnownInteractionEvent('app.bsky.feed.defs#interactionShare')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isClickthroughAuthor → bool
-
Available on KnownInteractionEvent, provided by the $KnownInteractionEventExtension extension
Returns true if this value is clickthroughAuthor, otherwise false.no setter - isClickthroughEmbed → bool
-
Available on KnownInteractionEvent, provided by the $KnownInteractionEventExtension extension
Returns true if this value is clickthroughEmbed, otherwise false.no setter - isClickthroughItem → bool
-
Available on KnownInteractionEvent, provided by the $KnownInteractionEventExtension extension
Returns true if this value is clickthroughItem, otherwise false.no setter - isClickthroughReposter → bool
-
Available on KnownInteractionEvent, provided by the $KnownInteractionEventExtension extension
Returns true if this value is clickthroughReposter, otherwise false.no setter - isInteractionLike → bool
-
Available on KnownInteractionEvent, provided by the $KnownInteractionEventExtension extension
Returns true if this value is interactionLike, otherwise false.no setter - isInteractionQuote → bool
-
Available on KnownInteractionEvent, provided by the $KnownInteractionEventExtension extension
Returns true if this value is interactionQuote, otherwise false.no setter - isInteractionReply → bool
-
Available on KnownInteractionEvent, provided by the $KnownInteractionEventExtension extension
Returns true if this value is interactionReply, otherwise false.no setter - isInteractionRepost → bool
-
Available on KnownInteractionEvent, provided by the $KnownInteractionEventExtension extension
Returns true if this value is interactionRepost, otherwise false.no setter - isInteractionSeen → bool
-
Available on KnownInteractionEvent, provided by the $KnownInteractionEventExtension extension
Returns true if this value is interactionSeen, otherwise false.no setter -
Available on KnownInteractionEvent, provided by the $KnownInteractionEventExtension extension
Returns true if this value is interactionShare, otherwise false.no setter - isNotClickthroughAuthor → bool
-
Available on KnownInteractionEvent, provided by the $KnownInteractionEventExtension extension
Returns true if this value is not clickthroughAuthor, otherwise false.no setter - isNotClickthroughEmbed → bool
-
Available on KnownInteractionEvent, provided by the $KnownInteractionEventExtension extension
Returns true if this value is not clickthroughEmbed, otherwise false.no setter - isNotClickthroughItem → bool
-
Available on KnownInteractionEvent, provided by the $KnownInteractionEventExtension extension
Returns true if this value is not clickthroughItem, otherwise false.no setter - isNotClickthroughReposter → bool
-
Available on KnownInteractionEvent, provided by the $KnownInteractionEventExtension extension
Returns true if this value is not clickthroughReposter, otherwise false.no setter - isNotInteractionLike → bool
-
Available on KnownInteractionEvent, provided by the $KnownInteractionEventExtension extension
Returns true if this value is not interactionLike, otherwise false.no setter - isNotInteractionQuote → bool
-
Available on KnownInteractionEvent, provided by the $KnownInteractionEventExtension extension
Returns true if this value is not interactionQuote, otherwise false.no setter - isNotInteractionReply → bool
-
Available on KnownInteractionEvent, provided by the $KnownInteractionEventExtension extension
Returns true if this value is not interactionReply, otherwise false.no setter - isNotInteractionRepost → bool
-
Available on KnownInteractionEvent, provided by the $KnownInteractionEventExtension extension
Returns true if this value is not interactionRepost, otherwise false.no setter - isNotInteractionSeen → bool
-
Available on KnownInteractionEvent, provided by the $KnownInteractionEventExtension extension
Returns true if this value is not interactionSeen, otherwise false.no setter -
Available on KnownInteractionEvent, provided by the $KnownInteractionEventExtension extension
Returns true if this value is not interactionShare, otherwise false.no setter - isNotRequestLess → bool
-
Available on KnownInteractionEvent, provided by the $KnownInteractionEventExtension extension
Returns true if this value is not requestLess, otherwise false.no setter - isNotRequestMore → bool
-
Available on KnownInteractionEvent, provided by the $KnownInteractionEventExtension extension
Returns true if this value is not requestMore, otherwise false.no setter - isRequestLess → bool
-
Available on KnownInteractionEvent, provided by the $KnownInteractionEventExtension extension
Returns true if this value is requestLess, otherwise false.no setter - isRequestMore → bool
-
Available on KnownInteractionEvent, provided by the $KnownInteractionEventExtension extension
Returns true if this value is requestMore, otherwise false.no setter - name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
JSON value based on lexicon.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toUnion(
) → UInteractionEvent -
Available on KnownInteractionEvent, provided by the $KnownInteractionEventExtension extension
Returns this value as UInteractionEvent.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
valueOf(
String? value) → KnownInteractionEvent? -
Returns KnownInteractionEvent associated with
value
, otherwise null.
Constants
-
values
→ const List<
KnownInteractionEvent> - A constant List of the values in this enum, in order of their declaration.