validateURL method

bool validateURL()

Validates if the string is a valid URL.

Implementation

bool validateURL() => hasMatch(Patterns.url);