equals method
Checks if this Prerequisite is equal to another Prerequisite.
Implementation
equals(Prerequisite other) {
return name == other.name && treatments == other.treatments;
}
Checks if this Prerequisite is equal to another Prerequisite.
equals(Prerequisite other) {
return name == other.name && treatments == other.treatments;
}