ModRemovePostView constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake)
const ModRemovePostView({
  1. required ModRemovePost modRemovePost,
  2. required PersonSafe moderator,
  3. required Post post,
  4. required CommunitySafe community,
  5. required String instanceHost,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake)
const factory ModRemovePostView({
  required ModRemovePost modRemovePost,
  required PersonSafe moderator,
  required Post post,
  required CommunitySafe community,
  required String instanceHost,
}) = _ModRemovePostView;