keyByHeatmapId function
Converts an Iterable of Heatmaps in a Map of HeatmapId -> Heatmap.
Implementation
Map<HeatmapId, Heatmap> keyByHeatmapId(
Iterable<Heatmap> heatmaps,
) {
return keyByMapsObjectId<Heatmap>(heatmaps).cast<HeatmapId, Heatmap>();
}