MastodonTagHistory class
Daily usage statistics for a hashtag.
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
- MastodonTagHistory({required String day, required String uses, required String accounts})
-
Creates a MastodonTagHistory with the given fields.
const
-
MastodonTagHistory.fromJson(Map<
String, dynamic> json) -
Creates a MastodonTagHistory from a JSON map.
factory
Properties
- accounts → String
-
Number of accounts that used the tag on that day (string).
final
- day → String
-
UNIX timestamp at midnight of the day (string).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uses → String
-
Number of times the tag was used on that day (string).
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