getAudioOutputDevices method

Future<List<MediaDeviceInfo>?> getAudioOutputDevices()

Get all the audio output devices currently available in the system

Implementation

Future<List<MediaDeviceInfo>?> getAudioOutputDevices() async {
  await loadMediaDevices();
  return mediaDevices[MediaDeviceType.audioOutput];
}