Interaction class

Available extensions
Annotations
  • @freezed

Constructors

Interaction.new({@Default(appBskyFeedDefsInteraction) @JsonKey(name: r'$type') String $type, @AtUriConverter() AtUri? item, @UInteractionEventConverter() UInteractionEvent? event, String? feedContext, @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown})
const
factory
Interaction.fromJson(Map<String, dynamic> json)
factory

Properties

$type String
The unique namespace for this lex object.
no setterinherited
$unknown Map<String, dynamic>?
Contains unknown objects not defined in Lexicon.
no setterinherited
copyWith → $InteractionCopyWith<Interaction>
no setterinherited
event UInteractionEvent?
no setterinherited
feedContext String?
Context on a feed item that was originally supplied by the feed generator on getFeedSkeleton.
no setterinherited
hasEvent bool

Available on Interaction, provided by the $InteractionExtension extension

Returns true if event is not null, otherwise false.
no setter
hasFeedContext bool

Available on Interaction, provided by the $InteractionExtension extension

Returns true if feedContext is not null, otherwise false.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasItem bool

Available on Interaction, provided by the $InteractionExtension extension

Returns true if item is not null, otherwise false.
no setter
hasNotEvent bool

Available on Interaction, provided by the $InteractionExtension extension

Returns true if event is null, otherwise false.
no setter
hasNotFeedContext bool

Available on Interaction, provided by the $InteractionExtension extension

Returns true if feedContext is null, otherwise false.
no setter
hasNotItem bool

Available on Interaction, provided by the $InteractionExtension extension

Returns true if item is null, otherwise false.
no setter
hasNotUnknown bool

Available on Interaction, provided by the $InteractionExtension extension

Returns true if this object has not unknown objects, otherwise false.
no setter
hasUnknown bool

Available on Interaction, provided by the $InteractionExtension extension

Returns true if this object has unknown objects, otherwise false.
no setter
item AtUri?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited