canLaunch method

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

Implementation

@override
Future<bool> canLaunch(String url) {
  return _channel.invokeMethod<bool>(
    'canLaunch',
    <String, Object>{'url': url},
  ).then((bool? value) => value ?? false);
}