isWebP property
bool
isWebP
Checks if a file path or URL represents a WebP image.
Implementation
bool get isWebP {
final mt = mimeType();
return mt == 'image/webp';
}
Checks if a file path or URL represents a WebP image.
bool get isWebP {
final mt = mimeType();
return mt == 'image/webp';
}