bool isChanged(HeatMap curr, Map<HeatMapId, HeatMap> oldHeatMaps) { final HeatMap old = oldHeatMaps[curr.heatMapId]!; return curr != old; }