setRefresh method
Sets _shouldRefresh flag with provided boolean parameter.
Implementation
void setRefresh(bool refresh) {
_shouldRefresh = refresh;
notifyListeners();
}
Sets _shouldRefresh flag with provided boolean parameter.
void setRefresh(bool refresh) {
_shouldRefresh = refresh;
notifyListeners();
}