onConnectionLost property

void Function()? onConnectionLost
getter/setter pair

Called when the Hub connection drops unexpectedly (not via disconnect).

Implementation

void Function()? onConnectionLost;