BadCertificateCallback typedef Null safety

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

Implementation

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