setRefreshFailed method
void
setRefreshFailed()
set the controller status to refreshingFailed. Use this method when the widget failed to refresh the data.
Implementation
void setRefreshFailed() {
_status = const GammaControllerStatus.refreshingFailed();
notifyListeners();
}