isMP4 property

bool get isMP4

Checks if a file path or URL represents an MP4 video file.

Implementation

bool get isMP4 {
  final mt = mimeType();
  return mt == 'video/mp4';
}