certificate property

  1. @override
X509Certificate? certificate
override

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

Implementation

@override
X509Certificate? get certificate => response.certificate;