openURL static method
Implementation
static openURL(String url) async {
final parsedUrl = Uri(path: url);
if (await canLaunchUrl(parsedUrl)) {
await launchUrl(parsedUrl);
} else {
throw 'Could not launch $url';
}
}
static openURL(String url) async {
final parsedUrl = Uri(path: url);
if (await canLaunchUrl(parsedUrl)) {
await launchUrl(parsedUrl);
} else {
throw 'Could not launch $url';
}
}