operator == method
- Object other
override
Compare deux choix sur la base de l'identifiant de l'école.
Implementation
@override
bool operator ==(Object other) {
// if (identical(this, other)) return true;
if (other is! Choice) return false;
return school.id == other.school.id;
}