getDevices static method

Future<List<DeviceInfo>?> getDevices()

Cameras, microphones and speakers together.

Implementation

static Future<List<DeviceInfo>?> getDevices() async {
  return [
    ...?await getCameras(),
    ...?await getMics(),
  ];
}