canLaunchUrl function

Future<bool> canLaunchUrl(
  1. Uri url
)

Implementation

Future<bool> canLaunchUrl(Uri url) async {
  return UrlLauncherPlatform.instance.canLaunch(url.toString());
}