addCertificate method Null safety

void addCertificate(
  1. X509 certificate
)

Add an X509 certificate to the Pkcs7 message

Implementation

void addCertificate(X509 certificate) {
  _certificates.add(certificate);
}