getXY method

  1. @override
Point getXY()
override

gets x and y.

Implementation

@override
Point getXY() => position.toPoint();