minTimeCodeIndex property

int get minTimeCodeIndex

Implementation

int get minTimeCodeIndex {
  int index = 10;
  for (final Course course in courses) {
    if (course.times.isEmpty) continue;
    for (final SectionTime time in course.times) {
      if (time.index < index) {
        index = time.index;
      }
    }
  }
  return index < 10 ? 0 : index;
}