MastodonAdminTag class

Admin-level hashtag information.

Extends the standard MastodonTag with admin-specific trend management fields.

Annotations

Constructors

MastodonAdminTag({required String id, required String name, required String url, List<MastodonTagHistory> history = const [], bool? trendable, bool? usable, bool? requiresReview, bool? listable})
const
MastodonAdminTag.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
history List<MastodonTagHistory>
Recent daily usage statistics.
final
id String
Database ID of the tag.
final
listable bool?
Whether the tag can be listed.
final
name String
Name of the hashtag without the # symbol.
final
requiresReview bool?
Whether review is required.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
trendable bool?
Whether the tag is approved to appear as a trend.
final
url String
URL to the hashtag on the instance.
final
usable bool?
Whether automatic linking is enabled.
final

Methods

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

Operators

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