listParticipants method
Implementation
Future<List<dynamic>?> listParticipants(dynamic roomId) async {
var payload = {"request": "listparticipants", "room": roomId};
_handleRoomIdTypeDifference(payload);
_context._logger.fine('listParticipants invoked with roomId:$roomId');
JanusEvent response = JanusEvent.fromJson(await this.send(data: payload));
JanusError.throwErrorFromEvent(response);
return response.plugindata?.data?['participants'];
}