onEnd property

void Function()? onEnd
getter/setter pair

Called when the WebSocket is closed

Implementation

void Function()? onEnd;