setSuccess method

void setSuccess()

Implementation

void setSuccess() => setState(() {
      viewState = ViewState.success;
    });