equalsCoords method
True if this and other
contain exactly same coordinate values (or both
are empty) in the same order and with the same coordinate type.
Implementation
@override
bool equalsCoords(Geometry other) =>
other is Point && position == other.position;