maxTimeCodeIndex property

int get maxTimeCodeIndex

Implementation

int get maxTimeCodeIndex {
  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;
}