InstanceActivity class

Annotations
  • @freezed

Constructors

InstanceActivity({@UnixTimestampConverter() required DateTime week, @JsonKey(name: 'statuses') @IntConverter() required int statusCount, @JsonKey(name: 'logins') @IntConverter() required int loginCount, @JsonKey(name: 'registrations') @IntConverter() required int registrationCount})
const
factory
InstanceActivity.fromJson(Map<String, Object?> json)
factory

Properties

copyWith → $InstanceActivityCopyWith<InstanceActivity>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
loginCount int
The number of user logins since the week began.
no setterinherited
registrationCount int
The number of user registrations since the week began.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCount int
The number of Statuses created since the week began.
no setterinherited
week DateTime
Midnight at the first day of the week.
no setterinherited

Methods

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

Operators

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