getAudioInputDevices method

Future<List<MediaDeviceInfo>?> getAudioInputDevices()

Get all the audio input devices currently available in the system

Implementation

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