toImage method

Image toImage()

Converts this ImageDto to an Image.

Returns a new Image instance with the same data.

Implementation

Image toImage() {
  return Image(url: url, width: width, height: height, isCatalog: isCatalog);
}