addUtf8Text method Null safety

void addUtf8Text(
  1. List<int> bytes
)

Sends a text message with the text represented by bytes.

The bytes should be valid UTF-8 encoded Unicode characters. If they are not, the receiving end will close the connection.

Implementation

void addUtf8Text(List<int> bytes);