fill function Null safety

Image fill(
  1. Image image,
  2. int color
)

Set all of the pixels of an image to the given color.

Implementation

Image fill(Image image, int color) => image.fill(color);