copyWith method

AppState copyWith({
  1. int? step,
})

Implementation

AppState copyWith({int? step}) {
  return AppState(step: step ?? this.step);
}