Chapter constructor Null safety

Chapter(
  1. {required List<String> dataSaverChapterURLs,
  2. String? uploader,
  3. List<String>? groupIds,
  4. String? mangaId,
  5. required String createdAt,
  6. required String updatedAt,
  7. required String id,
  8. required String title,
  9. required String translatedLanguage,
  10. required List<String> chapterURLs,
  11. String? volume,
  12. String? chapter}
)

Implementation

Chapter(
    {required this.dataSaverChapterURLs,
    this.uploader,
    this.groupIds,
    this.mangaId,
    required this.createdAt,
    required this.updatedAt,
    required this.id,
    required this.title,
    required this.translatedLanguage,
    required this.chapterURLs,
    this.volume,
    this.chapter});