PersonAggregates constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake)
const PersonAggregates({
  1. required int id,
  2. required int personId,
  3. required int postCount,
  4. required int postScore,
  5. required int commentCount,
  6. required int commentScore,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake)
const factory PersonAggregates({
  required int id,
  required int personId,
  required int postCount,
  required int postScore,
  required int commentCount,
  required int commentScore,
}) = _PersonAggregates;