isIP method

bool isIP(
  1. String input
)

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

Implementation

bool isIP(String input) {
  return matches(RegexConstants.REGEX_IP, input);
}