toLoaded method

FormBlocState<SuccessResponse, FailureResponse> toLoaded()

Returns a FormBlocLoaded state with the properties of the current state.

It is the state when you can submit the FormBloc.

Implementation

FormBlocState<SuccessResponse, FailureResponse> toLoaded() => FormBlocLoaded(
      isValidByStep: _isValidByStep,
      isEditing: isEditing,
      fieldBlocs: _fieldBlocs,
      currentStep: currentStep,
    );