onOpen property
dynamic Function()?
onOpen
getter/setter pair
Callback invoked when the WebSocket connection is opened successfully.
Implementation
Function()? onOpen;
Callback invoked when the WebSocket connection is opened successfully.
Function()? onOpen;