isConnected property

bool get isConnected

Implementation

bool get isConnected {
  if (_connection != null) {
    return _connection!.isConnected;
  }
  return false;
}