isSimilar method

bool isSimilar(
  1. HollisticMatchScoutingData other
)

Implementation

bool isSimilar(HollisticMatchScoutingData other) {
  return id == other.id ||
      other.preliminary.timeStamp == preliminary.timeStamp ||
      (other.preliminary.alliance == preliminary.alliance &&
          other.preliminary.matchType == preliminary.matchType &&
          other.preliminary.matchNumber ==
              preliminary.matchNumber &&
          other.preliminary.teamNumber == preliminary.teamNumber);
}