core.Map<core.String, core.dynamic> toJson() => { if (caCert != null) 'caCert': caCert!, if (pemCertificateChain != null) 'pemCertificateChain': pemCertificateChain!, };