canSend property
bool
get
canSend
Returns true if the connection can send messages
Implementation
bool get canSend => this == WebSocketState.connected;
Returns true if the connection can send messages
bool get canSend => this == WebSocketState.connected;