removePolygon method

Future<void> removePolygon(
  1. String polygonId
)

Implementation

Future<void> removePolygon(String polygonId) async {
  try {
    await _invoke('removePolygon', {'polygonId': polygonId});
  } catch (e) {
    debugPrint('Error removing polygon: $e');
  }
}