RemovePost constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const RemovePost({
  1. required int postId,
  2. required bool removed,
  3. String? reason,
  4. required String auth,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const factory RemovePost({
  required int postId,
  required bool removed,
  String? reason,
  required String auth,
}) = _RemovePost;