availableCameras static method

Future<List<CameraDescription>> availableCameras()

Retrieves a list of available cameras for the current device.

This will choose the best CameraAPI for the current device.

Implementation

static Future<List<CameraDescription>> availableCameras() async {
  throw UnimplementedError('$defaultTargetPlatform not supported');
}