RCRTCLiveInfo.fromJSON constructor

RCRTCLiveInfo.fromJSON(
  1. dynamic info
)

Implementation

RCRTCLiveInfo.fromJSON(info)
    : roomId = info['roomId'],
      liveUrl = info['liveUrl'],
      userId = info['userId'] {
  _channel = MethodChannel("rong.flutter.rtclib/LiveInfo:$roomId");
}