exists method
You can check whether a room exists using the exists
Implementation
Future<bool?> exists(dynamic roomId) async {
var payload = {"request": "exists", "room": roomId};
_handleRoomIdTypeDifference(payload);
_context._logger.fine('exists invoked with roomId:$roomId');
JanusEvent response = JanusEvent.fromJson(await this.send(data: payload));
JanusError.throwErrorFromEvent(response);
return response.plugindata?.data?['exists'];
}