SiteAggregates constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake)
const SiteAggregates({
  1. required int id,
  2. required int siteId,
  3. required int users,
  4. required int posts,
  5. required int comments,
  6. required int communities,
  7. required int usersActiveDay,
  8. required int usersActiveWeek,
  9. required int usersActiveMonth,
  10. required int usersActiveHalfYear,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake)
const factory SiteAggregates({
  required int id,
  required int siteId,
  required int users,
  required int posts,
  required int comments,
  required int communities,
  required int usersActiveDay,
  required int usersActiveWeek,
  required int usersActiveMonth,
  required int usersActiveHalfYear,
}) = _SiteAggregates;