isImage property
bool
get
isImage
Checks if a file path or URL represents an image file.
Implementation
bool get isImage {
final mt = mimeType();
return mt?.startsWith('image/') ?? false;
}
Checks if a file path or URL represents an image file.
bool get isImage {
final mt = mimeType();
return mt?.startsWith('image/') ?? false;
}