Activity class

Represents a weekly bucket of instance activity. https://docs.joinmastodon.org/entities/activity/

Annotations
  • @JsonSerializable()

Constructors

Activity({required DateTime week, required int statuses, required int logins, required int registrations})
Activity.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
logins int
User logins since the week began
final
registrations int
User registrations since the week began
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statuses int
Statuses created since the week began
final
week DateTime
Midnight at the first day of the week
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