setSuccess method

void setSuccess()

Implementation

void setSuccess() {
  viewState = ViewStateType.success;
  refresh();
}