int getGroupTypeValue(GroupType? groupType) { if (groupType == GroupType.TYPE_INTERVALS) { return 5; } return 1; }