copyWithEnglishSectionKurals method

KuralState copyWithEnglishSectionKurals({
  1. required List<Kural> englishSectionNameKuralsList,
  2. required bool isAllEnglishSectionKuralsLoaded,
  3. required String englishSectionNameKuralsErrorMessage,
})

Implementation

KuralState copyWithEnglishSectionKurals({
  required List<Kural> englishSectionNameKuralsList,
  required bool isAllEnglishSectionKuralsLoaded,
  required String englishSectionNameKuralsErrorMessage,
}) {
  return KuralState.englishSectionKurals(
    englishSectionNameKuralsList: englishSectionNameKuralsList,
    isAllEnglishSectionKuralsLoaded: isAllEnglishSectionKuralsLoaded,
    englishSectionNameKuralsErrorMessage:
        englishSectionNameKuralsErrorMessage,
  );
}