allowBadCertificateForHTTPS method
Call this method to allow bad https certificate and manually verify them. If you trust your API server and it's certificate you can override the HTTPS system check
Implementation
allowBadCertificateForHTTPS({HttpOverrides? customOverrides}) {
HttpOverrides.global = customOverrides ?? AppHttpOverrides();
}