isURL static method

bool isURL(
  1. String input
)

Return whether input matches regex of url.

Implementation

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