hasConnection method

bool hasConnection(
  1. bool warning
)

Implementation

bool hasConnection(bool warning) {
  if (!_hasConnaction && warning) OverAlert.show(type: AlertType.danger, message: 'noconnection'.translate);
  return _hasConnaction;
}