handlesURLScheme static method

Future<bool> handlesURLScheme(
  1. String urlScheme
)

Returns a Boolean value that indicates whether WebKit natively supports resources with the specified URL scheme.

urlScheme represents the URL scheme associated with the resource.

NOTE: available only on iOS 11.0+.

Official iOS API: https://developer.apple.com/documentation/webkit/wkwebview/2875370-handlesurlscheme

Implementation

static Future<bool> handlesURLScheme(String urlScheme) async {
  Map<String, dynamic> args = <String, dynamic>{};
  args.putIfAbsent('urlScheme', () => urlScheme);
  return await _staticChannel.invokeMethod('handlesURLScheme', args);
}