toEmbedImage method

UPostEmbed toEmbedImage({
  1. required String alt,
  2. AspectRatio? aspectRatio,
})

Returns the single UPostEmbed image representation of this blob.

Implementation

UPostEmbed toEmbedImage({
  required String alt,
  AspectRatio? aspectRatio,
}) =>
    UPostEmbed.images(
      data: Images(
        images: [
          toImage(
            alt: alt,
            aspectRatio: aspectRatio,
          ),
        ],
      ),
    );