allSubstitutions property

List<Substitution> get allSubstitutions

Implementation

List<Substitution> get allSubstitutions {
  List<Substitution> allSubs = [];
  for (var day in days) {
    allSubs.addAll(day.substitutions);
  }
  return allSubs;
}