isURL static method

bool isURL(
  1. String input
)

Returns whether the input matches the URL regex.

Implementation

static bool isURL(String input) {
  return matches(regexUrl, input);
}