disconnect method
Implementation
Future<void> disconnect() async {
try {
await _hubConnection.stop();
refreshSocketStatus(_hubConnection.state);
} catch (e) {
log(e.toString());
}
}
Future<void> disconnect() async {
try {
await _hubConnection.stop();
refreshSocketStatus(_hubConnection.state);
} catch (e) {
log(e.toString());
}
}