copyWith method

CoursesHomeState copyWith({
  1. int? aba,
  2. List<LoadedCourse>? cursos,
  3. CourseDraftCubit? rascunho,
  4. CourseProgressCubit? progressoRascunho,
  5. List<IncomingPackage>? fila,
  6. bool? drenando,
  7. bool? prontoParaReceber,
})

Implementation

CoursesHomeState copyWith({
  int? aba,
  List<LoadedCourse>? cursos,
  CourseDraftCubit? rascunho,
  CourseProgressCubit? progressoRascunho,
  List<IncomingPackage>? fila,
  bool? drenando,
  bool? prontoParaReceber,
}) => CoursesHomeState(
  aba: aba ?? this.aba,
  cursos: cursos ?? this.cursos,
  rascunho: rascunho ?? this.rascunho,
  progressoRascunho: progressoRascunho ?? this.progressoRascunho,
  fila: fila ?? this.fila,
  drenando: drenando ?? this.drenando,
  prontoParaReceber: prontoParaReceber ?? this.prontoParaReceber,
);