canLaunch method

  1. @override
Future<bool> canLaunch(
  1. String url
)

Returns true if this platform is able to launch url.

Implementation

@override
Future<bool> canLaunch(String url) async {
  final LaunchResult result = await _hostApi.canLaunchUrl(url);
  return _mapLaunchResult(result);
}