certificate property Null safety

X509Certificate? certificate

Returns the certificate of the HTTPS server providing the response. Returns null if the connection is not a secure TLS or SSL connection.

Implementation

X509Certificate? get certificate;