equals function
dynamic
equals(
- dynamic p1,
- dynamic p2
Implementation
equals(p1, p2) {
return p1.x == p2.x && p1.y == p2.y;
}
equals(p1, p2) {
return p1.x == p2.x && p1.y == p2.y;
}