AgoraRtmChannel constructor

AgoraRtmChannel(
  1. int? _clientIndex,
  2. String channelId
)

Implementation

AgoraRtmChannel(this._clientIndex, this.channelId) {
  _closed = false;
  _eventSubscription = _addEventChannel()
      .receiveBroadcastStream()
      .listen(_eventListener, onError: onError);
}