Tag class

Represents a hashtag used within the content of a status. https://docs.joinmastodon.org/entities/tag/

Annotations
  • @JsonSerializable()

Constructors

Tag({required String name, required Uri url, required List<History>? history})
Tag.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
history List<History>?
Usage statistics for given days
final
name String
The value of the hashtag after the # sign
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url Uri
A link to the hashtag on the instance
final

Methods

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

Operators

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