send method
Implementation
@override
bool send(dynamic message) {
logger.debug('send()');
if (_closed) {
throw 'transport closed';
}
try {
_ws!.send(message);
return true;
} catch (error) {
logger.error('send() | error sending message: ' + error.toString());
throw error;
}
}