MastodonFeaturedTag class

Hashtag featured on an account's profile.

Annotations

Constructors

MastodonFeaturedTag({required String id, required String name, required String url, required int statusesCount, DateTime? lastStatusAt})
Creates a MastodonFeaturedTag with the given fields.
const
MastodonFeaturedTag.fromJson(Map<String, dynamic> json)
Creates a MastodonFeaturedTag from a JSON map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
Internal ID of the featured tag.
final
lastStatusAt DateTime?
Date of the most recent status containing this hashtag.
final
name String
Name of the featured hashtag.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusesCount int
Number of statuses containing this hashtag.
final
url String
URL to the list of statuses containing this hashtag.
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