DisconnectedHandler typedef

DisconnectedHandler = void Function(Object? error)

Called when the websocket connection is lost.

Implementation

typedef DisconnectedHandler = void Function(Object? error);