image property

Image? image

Implementation

Image? get image {
  return texture != null ? texture!.image : null;
}
void image=(Image? img)

Implementation

set image(Image? img) {
  this.texture = ImgTexture(img!);
}