lineTo method Null safety

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

This adds a line segment to the current path

Implementation

void lineTo(double x, double y) {
  PdfNumList([x, y]).output(_buf);
  _buf.putString(' l\n');
}