getZoom
Future<void> getZoom ({required GetZoomCallback getZoomCallback})
Return the map's zoom level.
Implementation
Future<void> getZoom({required GetZoomCallback getZoomCallback}) async {
try {
final double result = await _channel.invokeMethod('getZoom');
getZoomCallback(result);
print("Result from native: $result");
} on PlatformException catch (e) {
print("Error from native: $e.message");
}
}