getImage method

Image? getImage()

Returns the underlying ui.Image, if it exists. Do not forget to dispose() the handle.

Implementation

ui.Image? getImage() {
  if (_image != null) assert(!_image!.debugDisposed, "Image is already disposed");
  return _image?.clone();
}