isJPG property
bool
get
isJPG
Checks if a file path or URL represents a JPEG or JPG image.
Implementation
bool get isJPG {
final mt = mimeType();
return mt == 'image/jpeg';
}
Checks if a file path or URL represents a JPEG or JPG image.
bool get isJPG {
final mt = mimeType();
return mt == 'image/jpeg';
}