onConnect property

void Function()? onConnect
final

Called when WebSocket connects

Implementation

final void Function()? onConnect;