BadCertificateCallback typedef Null safety

BadCertificateCallback = bool Function(X509Certificate cr, String host, int port)

Implementation

typedef bool BadCertificateCallback(X509Certificate cr, String host, int port);