ImageData constructor
const
ImageData(})
Encoded bytes of mimeType; or, from a cooked model, ready
levels (and bytes empty).
Implementation
const ImageData(
this.bytes,
this.mimeType,
this.name, {
this.levels,
this.levelsSrgb = true,
});