webSocketTimeout property
Implementation
int get webSocketTimeout => _webSocketTimeout;
Sets the websocket response timeout used in sending/receiving commands by websocket. The value should be between 5 seconds and 300 seconds (5 minutes). The default value is 30 seconds.
Implementation
set webSocketTimeout(value) {
if (value >= 5 && value <= 300) {
_webSocketTimeout = value;
}
}