connectivityStateChanged method
Notification for network connectivity state changes. A connectivity change is automatically triggered in consequence of internal client events. 'connected': connection to Electric established 'disconnected': Electric is unreachable, or network is unavailable. A reason for the disconnection can be provided.
Implementation
@override
void connectivityStateChanged(String dbName, ConnectivityState status) {
if (!_hasDbName(dbName)) {
return;
}
_emitConnectivityStatus(dbName, status);
}