send method

  1. @override
void send(
  1. List<Map> data
)
override

Implementation

@override
void send(List<Map> data) {
  send(data, Map packet) {
    connect!.websocket?.add(data);
  }

  for (var i = 0; i < data.length; i++) {
    var packet = data[i];
    PacketParser.encodePacket(packet,
        supportsBinary: supportsBinary, callback: (_) => send(_, packet));
  }
}