isVideo static method

bool isVideo(
  1. String s
)

Checks if string is an video file. 检查字符串是否为视频文件

Implementation

static bool isVideo(String s) => RegexUtils.hasMatch(s, RegexConstants.video);