refresh method
Refreshes the data and optionally reloads the base data.
Implementation
void refresh([bool reload = false]) {
if (reload) load();
notifyListeners();
}
Refreshes the data and optionally reloads the base data.
void refresh([bool reload = false]) {
if (reload) load();
notifyListeners();
}