ImageInfo constructor Null safety
Creates an ImageInfo object for the given image and scale.
Both the image and the scale must not be null.
The debugLabel may be used to identify the source of this image.
Implementation
const ImageInfo({ required this.image, this.scale = 1.0, this.debugLabel })
: assert(image != null),
assert(scale != null);