refreshPage method

void refreshPage()

calls both getTotal and getData methods and updates the ui

Implementation

void refreshPage() {
  _indexSubject.add(_indexSubject.value);
}