checkpointAdded method
- required String categoryId,
Implementation
void checkpointAdded({required String categoryId}) {
final currentTotal = _totalCheckpointsByCategoryId[categoryId];
if (currentTotal == null) return;
_totalCheckpointsByCategoryId[categoryId] = currentTotal + 1;
final categoryCoordinate = _categoryCoordinateById[categoryId];
if (categoryCoordinate != null) {
_refreshCategoryEntry(categoryId, categoryCoordinate);
}
revision.value++;
}