touchLesson method

Future<void> touchLesson(
  1. String courseId,
  2. String lessonId
)

Implementation

Future<void> touchLesson(String courseId, String lessonId) {
  return _update(
    courseId,
    (c) => c.lastLessonId == lessonId ? null : c.touchLesson(lessonId),
  );
}