sendMessage method

  1. @override
void sendMessage(
  1. Uint8List data, [
  2. Channel channel = kAnyChannel
])
override

Implementation

@override
void sendMessage(Uint8List data, [Channel channel = kAnyChannel]) {
  if (channel == kAnyChannel) {
    for (final id in _connections.keys) {
      _sendMessage(data, id);
    }
  } else {
    _sendMessage(data, channel);
  }
}