isValidURL property
bool
get
isValidURL
Implementation
bool get isValidURL {
return RegExp(
r"^(?:http(s)?:\/\/)[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#[\]@!\$&'\(\)\*\+,;=.]+",
caseSensitive: false)
.hasMatch(this);
}