hasPoint method
- Reference point
Indicates whether point is one of the points in this connection.
Implementation
bool hasPoint(Reference point) => point1 == point || point2 == point;
Indicates whether point is one of the points in this connection.
bool hasPoint(Reference point) => point1 == point || point2 == point;