static Future<void> mylaunchUrl(String url) async { if (!await launchUrl(Uri.parse(url))) { throw Exception('Could not launch $url'); } }