AwUrl constructor
AwUrl(
- String url
Implementation
AwUrl(this.url) {
try {
Uri myuri = Uri.parse(url);
if (myuri.host != "" &&
(myuri.isScheme('https') || myuri.isScheme('http'))) {
isvalid = true;
}
} on Exception {
isvalid = false;
}
}