setStartDateBackBy method

SubjectProgress setStartDateBackBy({
  1. required int days,
})

Implementation

SubjectProgress setStartDateBackBy({required int days}) {
  completedAt = completedAt!.subtract(Duration(days: days));
  startedAt = startedAt?.subtract(Duration(days: days));
  return this;
}