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