hasSameSample method

bool hasSameSample(
  1. Group group
)

Checks whether the group has the same structure.

Implementation

bool hasSameSample(Group group) {
  return activityType == group.activityType &&
      groupType == group.groupType &&
      startTime == group.startTime &&
      endTime == group.endTime;
}