numberOfCameras property

Future<int?> numberOfCameras

Returns the number of cameras which are available Use n-1 as the index of the camera which should be used.

Implementation

static Future<int?> get numberOfCameras {
  return _channel.invokeMethod('numberOfCameras');
}