updateHeatmaps method
void
updateHeatmaps(
- HeatmapUpdates updates
Applies HeatmapUpdates to the currently managed heatmaps.
Implementation
void updateHeatmaps(HeatmapUpdates updates) {
assert(_heatmapsController != null, 'Cannot update heatmaps after dispose().');
_heatmapsController?.addHeatmaps(updates.heatmapsToAdd);
_heatmapsController?.changeHeatmaps(updates.heatmapsToChange);
_heatmapsController?.removeHeatmaps(updates.heatmapIdsToRemove);
}