openBrowser static method
Implementation
static openBrowser(String link) async {
final Uri url = Uri.parse(link);
if (!await launchUrl(url)) {
throw Exception('Could not launch $link');
}
}
static openBrowser(String link) async {
final Uri url = Uri.parse(link);
if (!await launchUrl(url)) {
throw Exception('Could not launch $link');
}
}