availableCameras function

Future<List<CameraDescription>> availableCameras()

Completes with a list of available cameras.

May throw a CameraException.

Implementation

Future<List<CameraDescription>> availableCameras() async {
  return CameraPlatform.instance.availableCameras();
}