moveTo method

void moveTo(
  1. double x,
  2. double y
)

Moves to the given point.

Implementation

void moveTo(double x, double y) {
  _currentPoint = Point(x, y);
  _points.add(_currentPoint!);
}