updateCurrentStep method

void updateCurrentStep(
  1. int step
)

Update FormBlocState.currentStep only if step is valid by calling FormBlocState.isValid

Implementation

void updateCurrentStep(int step) => _onUpdateCurrentStep(step: step);