MastodonWeeklyActivity class
Weekly activity statistics of the instance.
GET /api/v1/instance/activity
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
- MastodonWeeklyActivity({required String week, required String statuses, required String logins, required String registrations})
-
const
-
MastodonWeeklyActivity.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- logins → String
-
Number of users who logged in during the week (string).
final
- registrations → String
-
Number of users who registered during the week (string).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statuses → String
-
Number of statuses posted during the week (string).
final
- week → String
-
UNIX timestamp at the start of the week (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