lineTo method Null safety

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

Adds a straight line segment from the current point to the given point.

Implementation

void lineTo(double x, double y) native 'Path_lineTo';