getMinZoomLevel method Null safety

Future<double> getMinZoomLevel()

Gets the minimum supported zoom level for the selected camera.

Implementation

Future<double> getMinZoomLevel() {
  _throwIfNotInitialized('getMinZoomLevel');
  try {
    return CameraPlatform.instance.getMinZoomLevel(_cameraId);
  } on PlatformException catch (e) {
    throw CameraException(e.code, e.message);
  }
}