clear method
Remove all marker collections from the map view.
Returns
- A Future that completes when the operation has finished.
Implementation
Future<void> clear() async {
await GemKitPlatform.instance
.getChannel(mapId: _mapId)
.invokeMethod<String>(
'callObjectMethod',
jsonEncode(<String, dynamic>{
'id': pointerId,
'class': 'MapViewMarkerCollections',
'method': 'clear',
'args': <String, dynamic>{},
}),
);
}