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')
interactionShare → const KnownInteractionEvent

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
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

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.