setXY method

  1. @override
dynamic setXY(
  1. num x,
  2. num y
)
override

Sets the x and y.

Implementation

@override
setXY(num x, num y) => position = position.setXY(x, y);