isURL function

bool isURL(
  1. String value
)

Implementation

bool isURL(String value) {
  return _regex(r'^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$', value);
}