toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (caCertificate != null) 'caCertificate': caCertificate!,
if (clientCertificate != null) 'clientCertificate': clientCertificate!,
if (clientKey != null) 'clientKey': clientKey!,
if (type != null) 'type': type!,
};