CategoryInformation constructor Null safety

CategoryInformation(
  1. {required Easy generalKnowledge,
  2. required Easy art,
  3. required Easy entertainment,
  4. required Easy science,
  5. required Easy mythology,
  6. required Easy history,
  7. required Easy sports}
)

Implementation

CategoryInformation(
    {required this.generalKnowledge,
      required this.art,
      required this.entertainment,
      required this.science,
      required this.mythology,
      required this.history,
      required this.sports});