updateMarkers static method
Implementation
static Future<void> updateMarkers(
int mapId, Set<Marker> previous, Set<Marker> current) async {
var markerUpdates = MarkerUpdates.from(previous, current);
await GoogleMapsFlutterPlatform.instance
.updateMarkers(markerUpdates, mapId: mapId);
}