decrement method

  1. @override
Point decrement(
  1. WithXY p
)
override

Increments the X,Y coordinates by p.

Implementation

@override
Point decrement(WithXY p) => incrementXY(-p.x, -p.y);