onBadCertificate property

bool Function(X509Certificate certificate)? onBadCertificate
final

A callback for handling invalid certificates in secure connections.

Implementation

final bool Function(X509Certificate certificate)? onBadCertificate;