getAllCameraDevices method
Retrieve information for all available camera devices.
Implementation
@override
Future<List<CameraDevice>> getAllCameraDevices() async {
final List<CameraInfo> allInfo = await Camera.getAllCameraInfo();
return allInfo
.map<CameraDevice>((CameraInfo info) => CameraDevice(info))
.toList();
}