getMasterConnectionIfAvailable method
Implementation
Connection? getMasterConnectionIfAvailable() {
final master = _masterConnection;
if (master != null && master.connected) {
return master;
}
return null;
}
Connection? getMasterConnectionIfAvailable() {
final master = _masterConnection;
if (master != null && master.connected) {
return master;
}
return null;
}