recordComplete static method
Increment the completion counter.
Implementation
static Future<void> recordComplete(String stateId) async {
final today = _todayKey();
await _col.doc(stateId).set({
'completions_$today': FieldValue.increment(1),
}, SetOptions(merge: true));
}