drawLine method
Draw a line on the underlying image.
Implementation
void drawLine(int x1, int y1, int x2, int y2, String color,
{bool antialias = false, num thickness = 1}) {
img.drawLine(
_decodedBytes!,
x1: x1,
y1: y1,
x2: x2,
y2: x2,
color: _toRgbColor(RgbColor.name(color)),
);
}