incrementX method

  1. @override
Point incrementX(
  1. num n
)
override

Increments the X coordinate by n

Implementation

@override
Point incrementX(num n) => Point(x + n, y);