onBadCertificate property

bool Function(X509Certificate certificate)? onBadCertificate
getter/setter pair

Callback function to handle bad certificate. if true, ignore the error.

Implementation

bool Function(X509Certificate certificate)? onBadCertificate;