setLoading method

void setLoading(
  1. bool value
)

Set Loading and refresh the current Controller.

Implementation

void setLoading(bool value) {
  _loading = value;
  refresh();
}