toImage method

Image toImage({
  1. required String alt,
  2. ImageAspectRatio? aspectRatio,
})

Returns the Image representation of this blob.

Implementation

Image toImage({
  required String alt,
  ImageAspectRatio? aspectRatio,
}) =>
    Image(
      alt: alt,
      image: this,
      aspectRatio: aspectRatio,
    );