Work constructor Null safety

const Work(
  1. {required String title,
  2. required Fandom fandom,
  3. required String author,
  4. required String description,
  5. required int workID,
  6. required int numberOfChapters}
)

Implementation

const Work({
  required this.title,
  required this.fandom,
  required this.author,
  required this.description,
  required this.workID,
  required this.numberOfChapters,
});