123456789101112131415161718192021222324 |
- class VidUsPoint {
- double _x;
- double _y;
- double get x => _x;
- double get y => _y;
- VidUsPoint(this._x, this._y);
- bool operator ==(other) {
- if (other is VidUsPoint &&
- runtimeType == other.runtimeType &&
- _x == other._x &&
- _y == other._y) {
- return true;
- }
- return false;
- }
- @override
- int get hashCode => _x.hashCode ^ _y.hashCode;
- }
|