changeConnection method
Implementation
Future<void> changeConnection(bool value) async {
if (_connected == value) return;
_connected = value;
if (!value) {
return _unsubscribes();
}
await reload(notifiable: true);
if (_listening) await resubscribes();
}