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