FacetTag class

Facet feature for a hashtag. The text usually includes a '#' prefix, but the facet reference should not (except in the case of 'double hash tags').

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

Available extensions
Annotations
  • @freezed

Constructors

FacetTag({@Default(appBskyRichtextFacetTag) @JsonKey(name: r'$type') String $type, required String tag, @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown})
const
factory
FacetTag.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 → $FacetTagCopyWith<FacetTag>
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
tag String
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