isInvalidServerCert property
Returns true if this is an invalid certificate format error.
This error occurs when the provided certificate is not in valid PEM format or cannot be parsed.
Implementation
bool get isInvalidServerCert => code == 'INVALID_SERVER_CERT';