PublicKeyCertificate constructor

PublicKeyCertificate({
  1. PublicKeyCertificateFormat? format,
  2. String? certificate,
  3. X509CertificateDetails? x509Details,
})

Implementation

factory PublicKeyCertificate({
  PublicKeyCertificateFormat? format,
  $core.String? certificate,
  X509CertificateDetails? x509Details,
}) {
  final $result = create();
  if (format != null) {
    $result.format = format;
  }
  if (certificate != null) {
    $result.certificate = certificate;
  }
  if (x509Details != null) {
    $result.x509Details = x509Details;
  }
  return $result;
}