masterConnectionVerified property

Connection masterConnectionVerified

Implementation

Connection get masterConnectionVerified {
  if (_masterConnection != null && !_masterConnection!._closed) {
    return _masterConnection!;
  } else {
    throw MongoDartError('No master connection');
  }
}