translate method

List<Point> translate(
  1. num translateX,
  2. num translateY
)

Implementation

List<Point> translate(num translateX, num translateY) =>
    map((p) => p.incrementXY(translateX, translateY)).toList();