isVideo property
bool
isVideo
check string is video
Implementation
bool get isVideo =>
_endsWith('.mp4') ||
_endsWith('.avi') ||
_endsWith('.mov') ||
_endsWith('.mkv');
check string is video
bool get isVideo =>
_endsWith('.mp4') ||
_endsWith('.avi') ||
_endsWith('.mov') ||
_endsWith('.mkv');