checkpointCompleted method
bool
checkpointCompleted({ - required String checkpointId,
- required int pjNr,
- required int categoryIndex,
- required int checkpointIndex,
- DateTime? now,
})
Implementation
bool checkpointCompleted({
required String checkpointId,
required int pjNr,
required int categoryIndex,
required int checkpointIndex,
DateTime? now,
}) {
if (checkpointEditedRecently(checkpointId, now: now)) return true;
return checkpointEditedRecently(
checkpointKey(
pjNr: pjNr,
categoryIndex: categoryIndex,
checkpointIndex: checkpointIndex,
),
now: now,
);
}