onBadCertificate property
Callback function to handle bad certificate (self signed). if true, ignore the error.
Implementation
bool Function(X509Certificate certificate)? onBadCertificate;
Callback function to handle bad certificate (self signed). if true, ignore the error.
bool Function(X509Certificate certificate)? onBadCertificate;