StoryGroup constructor Null safety

StoryGroup(
  1. {required String id,
  2. required String title,
  3. required int index,
  4. required bool seen,
  5. required String? iconUrl,
  6. required List<Story> stories,
  7. required bool pinned,
  8. required int type,
  9. Map<String, String>? thematicIconUrls,
  10. String? coverUrl}
)

Implementation

StoryGroup({
  required this.id,
  required this.title,
  required this.index,
  required this.seen,
  required this.iconUrl,
  required this.stories,
  required this.pinned,
  required this.type,
  this.thematicIconUrls,
  this.coverUrl,
});