onRefresh method

Future onRefresh()

Implementation

Future onRefresh() {
  isFirst = true;
  view.updateState();
  loadData();
  return Future.value(true);
}