getPixel method
Return the Pixel at the given coordinates. If pixel
is provided,
it will be updated and returned rather than allocating a new Pixel.
Implementation
Pixel getPixel(int x, int y, [Pixel? pixel]) =>
data?.getPixel(x, y, pixel) ?? Pixel.undefined;