onBadCertificate property Null safety

(bool Function?(dynamic certificate)?) onBadCertificate
read / write, override

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

Implementation

@override
bool Function(dynamic certificate)? onBadCertificate;