FacetMention class

Facet feature for mention of another account. The text is usually a handle, including a '@' prefix, but the facet reference is a DID.

https://atprotodart.com/docs/lexicons/app/bsky/richtext/facet#mention

Available extensions
Annotations
  • @freezed

Constructors

FacetMention({@Default(appBskyRichtextFacetMention) @JsonKey(name: r'$type') String $type, required String did, @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown})
const
factory
FacetMention.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 → $FacetMentionCopyWith<FacetMention>
no setterinherited
did String
no setterinherited
hashCode int
The hash code for this object.
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