Announcement constructor Null safety

Announcement(
  1. {String? title,
  2. int? id,
  3. int? nextId,
  4. int? lastId,
  5. int? weight,
  6. String? imgUrl,
  7. String? url,
  8. String? description,
  9. String? publishedTime,
  10. String? expireTime,
  11. String? applicant,
  12. String? applicationId,
  13. bool? reviewStatus,
  14. String? reviewDescription,
  15. List<String?>? tags,
  16. int? randomWeight}
)

Implementation

Announcement({
  this.title,
  this.id,
  this.nextId,
  this.lastId,
  this.weight,
  this.imgUrl,
  this.url,
  this.description,
  this.publishedTime,
  this.expireTime,
  this.applicant,
  this.applicationId,
  this.reviewStatus,
  this.reviewDescription,
  this.tags,
  this.randomWeight,
});