onError property
Callback function invoked when an error occurs.
Implementation
Function(SocketClient socket, Map<String, dynamic> data)? onError;
Callback function invoked when an error occurs.
Function(SocketClient socket, Map<String, dynamic> data)? onError;