isURL method

bool isURL(
  1. String input
)

Return whether input matches regex of url. 返回输入是否匹配url的正则表达式。

Implementation

bool isURL(String input) {
  return matches(RegexConstants.REGEX_URL, input);
}