getMaxZoomLevel method

  1. @override
Future<double> getMaxZoomLevel(
  1. int cameraId
)

Gets the maximum supported zoom level for the selected camera.

Implementation

@override
Future<double> getMaxZoomLevel(int cameraId) async {
  final double? maxZoomLevel = await _channel.invokeMethod<double>(
    'getMaxZoomLevel',
    <String, dynamic>{'cameraId': cameraId},
  );

  return maxZoomLevel!;
}