Categories constructor Null safety

Categories(
  1. {List<TriviaCategories>? triviaCategories}
)

Implementation

Categories({this.triviaCategories});