ModRemoveCommentView constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake)
const ModRemoveCommentView({
  1. required ModRemoveComment modRemoveComment,
  2. required PersonSafe moderator,
  3. required Comment comment,
  4. required PersonSafe commenter,
  5. required Post post,
  6. required CommunitySafe community,
  7. required String instanceHost,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake)
const factory ModRemoveCommentView({
  required ModRemoveComment modRemoveComment,
  required PersonSafe moderator,
  required Comment comment,
  required PersonSafe commenter,
  required Post post,
  required CommunitySafe community,
  required String instanceHost,
}) = _ModRemoveCommentView;