copyWith method

FaqState copyWith({
  1. bool? isLoading,
  2. List<Faq>? faqs,
})

Implementation

FaqState copyWith({bool? isLoading, final List<Faq>? faqs}) => FaqState(
      isLoading: isLoading ?? false,
      faqs: faqs ?? this.faqs,
    );