end static method

dynamic end()

Implementation

static end() {
  if (delay != null) {
    delay!.cancel();
  }
  if (loading) {
    loading = false;
    if (currentContext == (lastContext ?? RequestApiHelper.baseData!.navigatorKey!.currentContext!)) {
      Navigator.pop(RequestApiHelper.baseData!.navigatorKey!.currentContext!);
    }
  }
}