DeletePost constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const DeletePost({
  1. required int postId,
  2. required bool deleted,
  3. required String auth,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const factory DeletePost({
  required int postId,
  required bool deleted,
  required String auth,
}) = _DeletePost;