getStaffGroup method

StaffGroup? getStaffGroup(
  1. int index
)

Get a specific staff group by index

Implementation

StaffGroup? getStaffGroup(int index) {
  if (index < 0 || index >= staffGroups.length) return null;
  return staffGroups[index];
}