RTCDataChannelMessage constructor

RTCDataChannelMessage(
  1. String text
)

Construct a text message with a String.

Implementation

RTCDataChannelMessage(String text) {
  _data = text;
  _isBinary = false;
}