getNumberOfCameras static method
Retrieves the number of physical cameras available on this device.
Implementation
static Future<int?>? getNumberOfCameras() {
return CameraChannel.channel.invokeMethod<int>(
'Camera#getNumberOfCameras',
);
}