toImage method
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);
}
Converts this ImageDto to an Image.
Returns a new Image instance with the same data.
Image toImage() {
return Image(url: url, width: width, height: height, isCatalog: isCatalog);
}