isGIF property

bool get isGIF

Checks if a file path or URL represents a GIF image.

Implementation

bool get isGIF {
  final mt = mimeType();
  return mt == 'image/gif';
}