hide method

dynamic hide(
  1. BuildContext context
)

Hides the loading dialog.

Implementation

hide(BuildContext context) {
  if (_isVisible) {
    Navigator.pop(context);
  }
  _isDisposed = true;
}