copyWithTamilChapterNames method

KuralState copyWithTamilChapterNames({
  1. required List<String>? tamilChapterNamesList,
  2. required bool? isAllTamilChaptersLoaded,
  3. required String? tamilChapterNamesErrorMessage,
})

Implementation

KuralState copyWithTamilChapterNames({
  required List<String>? tamilChapterNamesList,
  required bool? isAllTamilChaptersLoaded,
  required String? tamilChapterNamesErrorMessage,
}) {
  return KuralState.tamilChapterNames(
    tamilChapterNamesList:
        tamilChapterNamesList ?? this.tamilChapterNamesList,
    isAllTamilChaptersLoaded:
        isAllTamilChaptersLoaded ?? this.isAllTamilChaptersLoaded,
    tamilChapterNamesErrorMessage:
        tamilChapterNamesErrorMessage ?? this.tamilChapterNamesErrorMessage,
  );
}