copyWith method
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,
);