ChapterWithContentResponseModel constructor

const ChapterWithContentResponseModel({
  1. required String chapterId,
  2. required String name,
  3. dynamic lastConversionDateUnix,
  4. dynamic conversionProgress,
  5. required bool canBeDownloaded,
  6. required ChapterWithContentResponseModelState state,
  7. dynamic statistics,
  8. dynamic lastConversionError,
  9. required ChapterContentResponseModel content,
})

Implementation

const ChapterWithContentResponseModel({
  required this.chapterId,
  required this.name,
  this.lastConversionDateUnix,
  this.conversionProgress,
  required this.canBeDownloaded,
  required this.state,
  this.statistics,
  this.lastConversionError,
  required this.content,
});