getOutputDevices method

  1. @override
Future<List<AudioOutputDevice>> getOutputDevices()
override

Implementation

@override
Future<List<AudioOutputDevice>> getOutputDevices() async {
  final devices = await _invokeListMethod('getOutputDevices');
  return devices
      .map(
        (device) =>
            AudioOutputDevice.fromMap(Map<Object?, Object?>.from(device)),
      )
      .toList(growable: false);
}