getAudioDevicesList method
Method to get available audio devices
Implementation
Future<List<HMSAudioDevice>> getAudioDevicesList() async {
List result =
await PlatformService.invokeMethod(PlatformMethod.getAudioDevicesList);
return result
.map((e) => HMSAudioDeviceValues.getHMSAudioDeviceFromName(e))
.toList();
}