isIP static method

bool isIP(
  1. String input
)

Returns whether the input matches the IP address regex.

Implementation

static bool isIP(String input) {
  return matches(regexIp, input);
}