incrementY method

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

Increments the Y coordinate by n

Implementation

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