CommentAggregates constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake)
const CommentAggregates({
  1. required int id,
  2. required int commentId,
  3. required int score,
  4. required int upvotes,
  5. required int downvotes,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake)
const factory CommentAggregates({
  required int id,
  required int commentId,
  required int score,
  required int upvotes,
  required int downvotes,
}) = _CommentAggregates;