launchURL static method
Implementation
static launchURL(String url) {
throttle(() async {
if (await canLaunch(url)) {
try {
await launch(url);
} catch (err) {
if (kDebugMode) {
print(err);
}
}
} else {
debugPrint('Could not launch $url');
}
});
}