launchInBrowser static method
- dynamic link
Implementation
static Future<void> launchInBrowser(ExternalLinkConfig link) async {
final Uri url = Uri(scheme: 'https', host: link.host, path: link.path);
if (!await launchUrl(url, mode: LaunchMode.externalApplication)) {
developer.log('Could not launch $url');
}
}