setLoading method

void setLoading(
  1. bool value
)

Implementation

void setLoading(bool value) {
  if (_loading == value) return;
  _loading = value;
  notifyListeners();
}