isURL static method

bool isURL(
  1. String s
)

Checks if string is URL. 检查字符串是否为url文件

Implementation

static bool isURL(String s) =>
    RegexUtils.hasMatch(s, RegexConstants.url);