accept method
Implementation
Future<QBRTCSession?> accept(String sessionId, {Map<String, Object>? userInfo}) async {
Map<String, Object> values = Map();
values["sessionId"] = sessionId;
if (userInfo != null) {
values["userInfo"] = userInfo;
}
Map<Object?, Object?> map = await _webRtcModule.invokeMethod(ACCEPT_METHOD, values);
QBRTCSession? qbSession = QBRTCSessionMapper.mapToQBRtcSession(map);
return qbSession;
}