CommunityAggregates constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake)
const CommunityAggregates({
  1. required int id,
  2. required int communityId,
  3. required int subscribers,
  4. required int posts,
  5. required int comments,
  6. required int usersActiveDay,
  7. required int usersActiveWeek,
  8. required int usersActiveMonth,
  9. required int usersActiveHalfYear,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake)
const factory CommunityAggregates({
  required int id,
  required int communityId,
  required int subscribers,
  required int posts,
  required int comments,
  required int usersActiveDay,
  required int usersActiveWeek,
  required int usersActiveMonth,
  required int usersActiveHalfYear,
}) = _CommunityAggregates;