setTrustedCertificatesBytes method Null safety

void setTrustedCertificatesBytes(
  1. List<int> certBytes,
  2. {String? password}
)

Add a certificate to the set of trusted X509 certificates used by SecureSocket client connections.

Like setTrustedCertificates but takes the contents of the file.

Implementation

void setTrustedCertificatesBytes(List<int> certBytes, {String? password});