getCurrentWebViewPackage static method

  1. @Deprecated("Use InAppWebViewController.getCurrentWebViewPackage instead")
Future<AndroidWebViewPackageInfo?> getCurrentWebViewPackage()

Implementation

@Deprecated("Use InAppWebViewController.getCurrentWebViewPackage instead")
static Future<AndroidWebViewPackageInfo?> getCurrentWebViewPackage() async {
  Map<String, dynamic>? packageInfo =
      (await InAppWebViewController.getCurrentWebViewPackage())?.toMap();
  return AndroidWebViewPackageInfo.fromMap(packageInfo);
}