onBadCertificate property

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

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

Implementation

bool Function(dynamic certificate)? onBadCertificate;