updateHeatmaps method

  1. @override
Future<void> updateHeatmaps(
  1. HeatmapUpdates heatmapUpdates, {
  2. required int mapId,
})
override

Updates heatmap configuration.

Change listeners are notified once the update has been made on the platform side.

The returned Future completes after listeners have been notified.

Implementation

@override
Future<void> updateHeatmaps(
  HeatmapUpdates heatmapUpdates, {
  required int mapId,
}) {
  return channel(mapId).invokeMethod<void>(
    'heatmaps#update',
    serializeMapsObjectUpdates(heatmapUpdates, serializeHeatmap),
  );
}