copyWith method
Creates a new FastAppOnboardingBlocState instance with updated properties.
If a parameter is not provided, the corresponding property of the current instance is used instead.
Implementation
@override
FastAppOnboardingBlocState copyWith({
bool? isInitializing,
bool? isInitialized,
int? currentStepIndex,
bool? isCompleted,
}) =>
FastAppOnboardingBlocState(
isInitializing: isInitializing ?? this.isInitializing,
isInitialized: isInitialized ?? this.isInitialized,
currentStepIndex: currentStepIndex ?? this.currentStepIndex,
isCompleted: isCompleted ?? this.isCompleted,
);