getCertificate method

Future<SslCertificate?> getCertificate()

Gets the SSL certificate for the main top-level page or null if there is no certificate (the site is not secure).

Officially Supported Platforms/Implementations:

Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.

Implementation

Future<SslCertificate?> getCertificate() => platform.getCertificate();