moveTo method Null safety

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

This moves the current drawing point.

Implementation

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