markAsCompleted method

void markAsCompleted(
  1. String? pjNr
)

Implementation

void markAsCompleted(String? pjNr) {
  if (pjNr != null && !completedInspections.contains(pjNr)) {
    completedInspections.add(pjNr);
    notifyListeners();
  }
}