isUri method
Implementation
bool isUri() {
String pattern = r'[a-zA-Z0-9]{1,100}:.*';
RegExp regExp = RegExp(pattern);
return regExp.hasMatch(this);
}
bool isUri() {
String pattern = r'[a-zA-Z0-9]{1,100}:.*';
RegExp regExp = RegExp(pattern);
return regExp.hasMatch(this);
}