isImage property
bool
get
isImage
Returns true if the byte content is identified as an image.
Example MIME types: image/png, image/jpeg, image/svg+xml.
Implementation
bool get isImage => mime?.startsWith("image") ?? false;