setX method

  1. @override
Point setX(
  1. num x
)
override

Sets the X coordinate.

Implementation

@override
Point setX(num x) => Point(x, y);