copyWithWrapped method

GetChaptersResponseModel copyWithWrapped({
  1. Wrapped<List<ChapterResponseModel>>? chapters,
})

Implementation

GetChaptersResponseModel copyWithWrapped(
    {Wrapped<List<ChapterResponseModel>>? chapters}) {
  return GetChaptersResponseModel(
      chapters: (chapters != null ? chapters.value : this.chapters));
}