refresh method

void refresh([
  1. bool reload = false
])

Refreshes the data and optionally reloads the base data.

Implementation

void refresh([bool reload = false]) {
  if (reload) load();
  notifyListeners();
}