setLoading method
Implementation
void setLoading({
bool notify = true,
}) {
_state = ResourceStateEnum.LOADING;
if (notify) {
notifyListeners();
}
}
void setLoading({
bool notify = true,
}) {
_state = ResourceStateEnum.LOADING;
if (notify) {
notifyListeners();
}
}