getMinZoomLevel method Null safety
- int cameraId
override
Gets the minimum supported zoom level for the selected camera.
Implementation
@override
Future<double> getMinZoomLevel(int cameraId) async {
try {
return getCamera(cameraId).getMinZoomLevel();
} on html.DomException catch (e) {
throw PlatformException(code: e.name, message: e.message);
} on CameraWebException catch (e) {
_addCameraErrorEvent(e);
throw PlatformException(code: e.code.toString(), message: e.description);
}
}