onBadCertificate property

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

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

Implementation

bool Function(Object certificate)? onBadCertificate;