static makeImages(imgArr, description) {
        let image = {};
        if(description) {
            image.contentDescription = description;
        }
        image.sources = imgArr;
        return image;
    }
/**
     * 
     * Creates an image object with a multiple sources, source images are provided as an array of image objects
     * 
     * These images may be in either JPEG or PNG formats, with the appropriate file extensions.
     * An image cannot be larger than 2 MB
     * You must host the images at HTTPS URLs that are publicly accessible.
     * widthPixels and heightPixels are optional - Do not include them unless they are exactly correct.
     * 
     * By default, for Echo Show, size takes the value X_SMALL. If the other size values are included, 
     * then the order of precedence for displaying images begins with X_LARGE and proceeds downward, 
     * which means that larger images will be downscaled for display on Echo Show if provided.
     * example :
     * let imgArr = [
     *  { 'https://url/to/my/small.png', 300, 400, 'SMALL' },
     *  { 'https://url/to/my/large.png', 900, 1200, 'LARGE' },
     * ]
     *  ImageUtils.makeImage(imgArr, 'image description')
     *
     * @static
     * @param {{url : string, widthPixels : number, heightPixels : number, size : string}[]} imgArr 
     * @param {string} description text used to describe the image in a screen reader
     * @returns 
     * @memberof ImageUtils
     */
Creates an image object with a multiple sources, source images are provided as an array of image objects

These images may be in either JPEG or PNG formats, with the appropriate file extensions.
An image cannot be larger than 2 MB
You must host the images at HTTPS URLs that are publicly accessible.
widthPixels and heightPixels are optional - Do not include them unless they are exactly correct.

By default, for Echo Show, size takes the value X_SMALL. If the other size values are included,
then the order of precedence for displaying images begins with X_LARGE and proceeds downward,
which means that larger images will be downscaled for display on Echo Show if provided.


Creates an image object with a multiple sources source images are provided as an array of image objects These images may be in either JPEG or PNG formats with the appropriate file extensions . An image cannot be larger than 2 MB You must host the images at HTTPS URLs that are publicly accessible . widthPixels and heightPixels are optional - Do not include them unless they are exactly correct . By default for Echo Show size takes the value X_SMALL . If the other size values are included then the order of precedence for displaying images begins with X_LARGE and proceeds downward which means that larger images will be downscaled for display on Echo Show if provided .
static makeImages(imgArr, description) {
        let image = {};
        if(description) {
            image.contentDescription = description;
        }
        image.sources = imgArr;
        return image;
    }
static makeImages ( imgArr , description ) { let image = { } ; if ( description ) { image . contentDescription = description ; } image . sources = imgArr ; return image ; }
Creates an image object with a multiple sources, source images are provided as an array of image objects
Creates an image object with a multiple sources source images are provided as an array of image objects