url static method
Implementation
static Future<void> url({
required String? url,
}) async {
final urlPath = Uri.parse(url ?? '');
if (await canLaunchUrl(urlPath)) {
await launchUrl(
urlPath,
mode: LaunchMode.externalApplication,
);
} else {
throw 'Could not launch $url';
}
}