initAndConnect method
Public entrypoint to connect when credentials/URLs are ready.
Implementation
Future<void> initAndConnect() async {
if (isConnected.value || _hubConnection != null) return;
await _initializeSignalR();
}
Public entrypoint to connect when credentials/URLs are ready.
Future<void> initAndConnect() async {
if (isConnected.value || _hubConnection != null) return;
await _initializeSignalR();
}