closeLoading method

bool closeLoading()

Implementation

bool closeLoading() {
  final value = _loading?.removeEntry() ?? false;
  _loading = null;
  return value;
}